1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00

correct .updateSrc with .src which is from videojs itself and work the exact same way

This commit is contained in:
Vinzenz Hersche 2018-03-05 22:10:35 +01:00
parent 62a5640407
commit cc35e26496

View file

@ -134,7 +134,7 @@ function changeVideoSrc(vid_obj, source) {
player.addRemoteTextTrack(source[i]);
}
}
player.updateSrc(srcs);
player.src(srcs);
vid_obj.load();
player.play();