()
| 205 | |
| 206 | useEffect(() => { |
| 207 | const checkSupport = async () => { |
| 208 | if (MediaRecorder.isTypeSupported("video/webm")) { |
| 209 | setSupportedFormats((prev) => [...prev, "webm"]); |
| 210 | } |
| 211 | |
| 212 | trackEvent(`${conversionPath}_tool_loaded`); |
| 213 | }; |
| 214 | |
| 215 | checkSupport(); |
| 216 | }, [conversionPath]); |
no test coverage detected