|
|
@@ -600,6 +600,7 @@ export default {
|
|
|
var polyvPlayerContext = this.selectComponent('#playerVideo');
|
|
|
if (polyvPlayerContext != null) {
|
|
|
let PlayCurrentTime = polyvPlayerContext.getVideoPlayDuration();
|
|
|
+ console.log(PlayCurrentTime,996)
|
|
|
this.studyDuration = PlayCurrentTime;
|
|
|
if (this.currentTime < PlayCurrentTime) {
|
|
|
this.playTime += PlayCurrentTime - this.currentTime;
|
|
|
@@ -622,18 +623,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onStateChange(newstate, oldstate) {
|
|
|
- setTimeout(()=>{
|
|
|
- this.photoPopup = true;
|
|
|
- uni.authorize({
|
|
|
- scope: 'scope.camera',
|
|
|
- success() {
|
|
|
-
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
- console.log(9999119)
|
|
|
- },5000)
|
|
|
- console.log(newstate, 6989);
|
|
|
if (newstate.detail.newstate == 'playing') {
|
|
|
if (this.needSeek) {
|
|
|
var polyvPlayerContext = this.selectComponent('#playerVideo');
|