|
|
@@ -3,12 +3,7 @@ |
|
|
|
<div id="top"></div> |
|
|
|
<HeadTop /> |
|
|
|
<div class="video"> |
|
|
|
<!-- <video |
|
|
|
:src=" |
|
|
|
'https://smapitest.malls.iformall.com/myVideo/' + |
|
|
|
videoDetail.videoPath |
|
|
|
" |
|
|
|
/> --> |
|
|
|
<!-- <video ref="video" :src="videoUrl" /> --> |
|
|
|
<div id="J_prismPlayer" /> |
|
|
|
|
|
|
|
<div class="desc"> |
|
|
@@ -58,6 +53,10 @@ export default { |
|
|
|
this.$router.push(url); |
|
|
|
}, |
|
|
|
|
|
|
|
play() { |
|
|
|
this.$refs.video.play(); |
|
|
|
}, |
|
|
|
|
|
|
|
backToIndex() { |
|
|
|
this.$router.push("/myPage"); |
|
|
|
}, |
|
|
@@ -103,11 +102,15 @@ export default { |
|
|
|
); |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.videoId = this.$route.query.videoId; |
|
|
|
this.getVideoDetail(this.videoId); |
|
|
|
}, |
|
|
|
created() {}, |
|
|
|
mounted() { |
|
|
|
this.videoId = this.$route.query.videoId; |
|
|
|
if (this.videoId) { |
|
|
|
this.getVideoDetail(this.videoId); |
|
|
|
} else { |
|
|
|
this.videoUrl = this.$route.query.videoUrl; |
|
|
|
this.open(); |
|
|
|
} |
|
|
|
this.inPage = true; |
|
|
|
scrollToID("top"); |
|
|
|
}, |
|
|
|