Fix video=>video_el
parent
a8fe4711a2
commit
b48476bff0
|
@ -365,7 +365,7 @@ function MonitorStream(monitorData) {
|
||||||
}
|
}
|
||||||
const video_el = document.querySelector('video');
|
const video_el = document.querySelector('video');
|
||||||
if (video_el) {
|
if (video_el) {
|
||||||
video.addEventListener('play', (e) => {
|
video_el.addEventListener('play', (e) => {
|
||||||
this.createVolumeSlider();
|
this.createVolumeSlider();
|
||||||
}, this);
|
}, this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue