mirror of
https://github.com/OutCast3k/coinbin.git
synced 2025-12-24 19:51:28 +01: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');
|
||||
try {
|
||||
videoElement.srcObject = stream;
|
||||
} catch {
|
||||
} catch (e) {
|
||||
videoElement.src = window.URL.createObjectURL(stream);
|
||||
}
|
||||
videoElement.play();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user