This commit is contained in:
Kacper Maj 2021-01-29 20:53:05 +01:00
parent 75b2f3ee3e
commit f4d8087228

View File

@ -136,6 +136,7 @@ socket.on('videoData', (videoData) => {
// ON PLAYER STATE DATA RECV
socket.on('onPlayerState', (data, time) => {
console.log(data);
if (data === 1 || data === -1) {
// player.seekTo(time, true);
player.playVideo();