|
|
@@ -117,12 +117,13 @@ export default {
|
|
|
player.on('ended', () => {
|
|
|
// SocketInstance.send({ videoId: videoId, currentTime: player.video.currentTime })
|
|
|
const path = this.$route.path
|
|
|
- const nextPath = '/video/gz5RYkw1zn'
|
|
|
+ /*const nextPath = '/video/gz5RYkw1zn'
|
|
|
if (path !== nextPath) {
|
|
|
this.$router.push(nextPath)
|
|
|
} else {
|
|
|
console.log('视频播放完成')
|
|
|
- }
|
|
|
+ }*/
|
|
|
+ console.log('视频播放完成')
|
|
|
})
|
|
|
|
|
|
player.on('volumechange', () => {
|