Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
42b8170d
Commit
42b8170d
authored
Aug 24, 2023
by
zeyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频播放统计
parent
7a498a48
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
myPackageA/videoProject/videoDetail.vue
+0
-0
pages/courseDetail/courseDetail.vue
+2
-2
No files found.
myPackageA/videoProject/videoDetail.vue
View file @
42b8170d
This diff is collapsed.
Click to expand it.
pages/courseDetail/courseDetail.vue
View file @
42b8170d
...
...
@@ -558,7 +558,7 @@
this
.
isRenderVideo
=
true
;
this
.
totalTime
=
this
.
viewTime
=
0
;
// 跳转到指定位置
this
.
videoContext
.
seek
(
thi
e
.
viewTime
);
this
.
videoContext
.
seek
(
thi
s
.
viewTime
);
uni
.
hideLoading
();
}
})
...
...
@@ -618,7 +618,7 @@
}
}
},
timeupdate
(
e
)
{
timeupdate
(
e
)
{
this
.
totalTime
=
e
.
detail
.
duration
;
// 播放进度变化
this
.
viewTime
=
e
.
detail
.
currentTime
>
this
.
totalTime
?
this
.
totalTime
:
e
.
detail
.
currentTime
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment