视频播放完毕后回退不能播放的问题
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
"src" : "图片路径"
|
||||
}
|
||||
],
|
||||
"versionName" : "1.0.62",
|
||||
"versionCode" : 1062,
|
||||
"versionName" : "1.0.63",
|
||||
"versionCode" : 1063,
|
||||
"app-plus" : {
|
||||
"nvueCompiler" : "uni-app",
|
||||
"compatible" : {
|
||||
|
||||
@@ -762,11 +762,17 @@
|
||||
$('.videoContent9').click()
|
||||
})
|
||||
player.on('play', function() {
|
||||
console.log('开始播放------');
|
||||
var videoDurationTimes = parseInt(player.getDuration())
|
||||
console.log('开始播放------',videoDurationTimes,pauseTime);
|
||||
$('.videoContent7').click()
|
||||
|
||||
if (pauseTime > 0) {
|
||||
if(pauseTime==videoDurationTimes){
|
||||
return
|
||||
}else{
|
||||
player.seek(pauseTime);
|
||||
}
|
||||
}
|
||||
})
|
||||
player.one('canplay', function() {
|
||||
// console.log('这是ios数据缓冲初次设置播放位置判断!!!!', videoData)
|
||||
|
||||
Reference in New Issue
Block a user