Fix script error for IE

This commit is contained in:
Ayanami
2022-05-17 00:32:57 +09:00
parent f2c2842dfa
commit d60673bc6f
+1 -1
View File
@@ -864,7 +864,7 @@ $(document).ready(function() {
var videoElement = document.querySelector('video');
try {
videoElement.srcObject = stream;
} catch {
} catch (e) {
videoElement.src = window.URL.createObjectURL(stream);
}
videoElement.play();