mirror of
https://github.com/OutCast3k/coinbin.git
synced 2026-10-09 04:02:32 +02:00
Fix script error for IE
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user