|
@@ -63,7 +63,7 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import { videoUrl, submitPlayRecord } from '@/api/media/video'
|
|
import { videoUrl, submitPlayRecord } from '@/api/media/video'
|
|
|
-import SocketInstance from '@/utils/ws/socket-instance'
|
|
|
|
|
|
|
+// import SocketInstance from '@/utils/ws/socket-instance'
|
|
|
|
|
|
|
|
const hls = require('hls.js')
|
|
const hls = require('hls.js')
|
|
|
const dashjs = require('dashjs')
|
|
const dashjs = require('dashjs')
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
- //SocketInstance.connect()
|
|
|
|
|
|
|
+ // SocketInstance.connect()
|
|
|
const videoId = this.videoProp.videoId
|
|
const videoId = this.videoProp.videoId
|
|
|
if (this.getUrl) {
|
|
if (this.getUrl) {
|
|
|
this.getVideoUrl(videoId)
|
|
this.getVideoUrl(videoId)
|