Uncomment instant quality changing

This commit is contained in:
PrestonN 2019-08-12 19:05:53 -04:00
parent a1eb4a00cd
commit 4c24ff5c59
1 changed files with 2 additions and 2 deletions

View File

@ -374,14 +374,14 @@ Object.assign(MediaElementPlayer.prototype, {
media.dashPlayer.setTrackSwitchModeFor("video", "alwaysReplace");
media.dashPlayer.setQualityFor("video", index - 1);
// TODO: Make this work better. Green Artifacting for some videos.
/*
let time = media.currentTime;
media.setCurrentTime(0);
setTimeout(() => {
media.setCurrentTime(time);
media.play();
}, 200);
*/
}
else {
media.hlsPlayer.currentLevel = index - 1;