mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
correct .updateSrc with .src which is from videojs itself and work the exact same way
This commit is contained in:
parent
62a5640407
commit
cc35e26496
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ function changeVideoSrc(vid_obj, source) {
|
||||||
player.addRemoteTextTrack(source[i]);
|
player.addRemoteTextTrack(source[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.updateSrc(srcs);
|
player.src(srcs);
|
||||||
vid_obj.load();
|
vid_obj.load();
|
||||||
player.play();
|
player.play();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue