|
@@ -19,7 +19,6 @@
|
|
|
:webkit-playsinline="true"
|
|
|
x-webkit-airplay="allow"
|
|
|
x5-video-player-type="h5-page"
|
|
|
- :initial-time="startTime"
|
|
|
:page-gesture="false"
|
|
|
>
|
|
|
</video>
|
|
@@ -90,7 +89,6 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
objectFit : 'fill',
|
|
|
- startTime : 0,
|
|
|
play : false,
|
|
|
poster : true,
|
|
|
video : false,
|
|
@@ -108,12 +106,12 @@ export default {
|
|
|
start : function() {
|
|
|
this.poster = false;
|
|
|
this.video.play();
|
|
|
+ this.video.currentTime = 0 + '';
|
|
|
this.play = true;
|
|
|
},
|
|
|
stop : function(state) {
|
|
|
var self = this;
|
|
|
//this.poster = true;
|
|
|
- this.startTime = 0;
|
|
|
if (state) {
|
|
|
self.video.pause();
|
|
|
} else {
|