mirror of
https://github.com/OutCast3k/coinbin.git
synced 2026-05-17 15:19:56 +02:00
Fix script error for IE
This commit is contained in:
parent
f2c2842dfa
commit
d60673bc6f
@ -864,7 +864,7 @@ $(document).ready(function() {
|
|||||||
var videoElement = document.querySelector('video');
|
var videoElement = document.querySelector('video');
|
||||||
try {
|
try {
|
||||||
videoElement.srcObject = stream;
|
videoElement.srcObject = stream;
|
||||||
} catch {
|
} catch (e) {
|
||||||
videoElement.src = window.URL.createObjectURL(stream);
|
videoElement.src = window.URL.createObjectURL(stream);
|
||||||
}
|
}
|
||||||
videoElement.play();
|
videoElement.play();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user