reghao hace 2 años
padre
commit
76758c4bd0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/VideoPlayer.vue

+ 1 - 1
src/components/VideoPlayer.vue

@@ -115,7 +115,7 @@ export default {
       })
 
       player.on('ended', () => {
-        // SocketInstance.send({ videoId: videoId, currentTime: player.video.currentTime })
+        SocketInstance.send({ videoId: videoId, currentTime: player.video.currentTime })
         const path = this.$route.path
         /*const nextPath = '/video/gz5RYkw1zn'
         if (path !== nextPath) {