Disable mediarecorder in Safari
Although it has a MediaRecorder that supports video/mp4, it works horribly and inserts tons of black frames or just ouputs an empty video. Unusable.
This commit is contained in:
1 file changed
+1
-3
@@ -19,9 +19,7 @@ import newAddons from './new-addons.json';
|
||||
import isMobile from './is-mobile';
|
||||
|
||||
const clipboardSupported = !!(navigator.clipboard && navigator.clipboard.write);
|
||||
const mediaRecorderSupported = !!window.MediaRecorder && (
|
||||
MediaRecorder.isTypeSupported('video/webm') || MediaRecorder.isTypeSupported('video/mp4')
|
||||
);
|
||||
const mediaRecorderSupported = !!window.MediaRecorder && MediaRecorder.isTypeSupported('video/webm');
|
||||
const isSupported = manifest => {
|
||||
if (!manifest.permissions) {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user