debug
This commit is contained in:
parent
75b2f3ee3e
commit
f4d8087228
@ -136,6 +136,7 @@ socket.on('videoData', (videoData) => {
|
|||||||
|
|
||||||
// ON PLAYER STATE DATA RECV
|
// ON PLAYER STATE DATA RECV
|
||||||
socket.on('onPlayerState', (data, time) => {
|
socket.on('onPlayerState', (data, time) => {
|
||||||
|
console.log(data);
|
||||||
if (data === 1 || data === -1) {
|
if (data === 1 || data === -1) {
|
||||||
// player.seekTo(time, true);
|
// player.seekTo(time, true);
|
||||||
player.playVideo();
|
player.playVideo();
|
||||||
|
Loading…
Reference in New Issue
Block a user