Set original volume from existing stream in dyn-video-swap
This commit is contained in:
@@ -63,6 +63,7 @@ twitch-videoad.js application/javascript
|
||||
if (tempM3u8 != null) {
|
||||
tempVideo = document.createElement('video');
|
||||
tempVideo.autoplay = true;
|
||||
tempVideo.volume = originalVolume;
|
||||
disabledVideo.parentElement.insertBefore(tempVideo, disabledVideo.nextSibling);
|
||||
if (Hls.isSupported()) {
|
||||
tempVideo.hls = new Hls();
|
||||
|
||||
Reference in New Issue
Block a user