Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
h5-base
Commits
b55204bf
Commit
b55204bf
authored
Aug 23, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
823
parent
bd5cd8a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
video.vue
src/components/newLesson/video.vue
+5
-10
No files found.
src/components/newLesson/video.vue
View file @
b55204bf
...
...
@@ -432,16 +432,11 @@ export default {
console
.
log
(
'canplay'
)
var
video
=
document
.
getElementById
(
"myVideo"
);
if
(
this
.
currentTime
)
{
// setTimeout(() => {
// this.$refs.videoDom.play();
// this.$refs.videoDom.currentTime = this.currentTime;
// this.currentTime = 0;
// }, 300);
this
.
$refs
.
videoDom
.
play
();
this
.
$refs
.
videoDom
.
pause
();
this
.
$refs
.
videoDom
.
currentTime
=
this
.
currentTime
;
this
.
$refs
.
videoDom
.
play
();
this
.
currentTime
=
0
;
setTimeout
(()
=>
{
this
.
$refs
.
videoDom
.
play
();
this
.
$refs
.
videoDom
.
currentTime
=
this
.
currentTime
;
this
.
currentTime
=
0
;
},
300
);
// video.addEventListener("canplaythrough", ()=> {
// // console.log(video)
// this.$refs.videoDom.play();
...
...
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