Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JM-07
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
JM-07
Commits
2dcea14c
Commit
2dcea14c
authored
Aug 17, 2021
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
e07b15f8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
index.html
play/index.html
+1
-1
index.js
play/index.js
+4
-1
No files found.
play/index.html
View file @
2dcea14c
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<div
class=
"video-cover"
>
<div
class=
"video-cover"
>
<img
src=
"../lib/images/video-cover.png"
class=
"video-cover__image"
>
<img
src=
"../lib/images/video-cover.png"
class=
"video-cover__image"
>
</div>
</div>
<video
id=
"video"
class=
"video"
src=
""
muted
></video>
<video
id=
"video"
class=
"video"
src=
""
muted
preload=
"auto"
></video>
</div>
</div>
<div
class=
"play-speed-content"
>
<div
class=
"play-speed-content"
>
<p
class=
"speed"
style=
"font-size: 0.4rem; line-height: 0.7rem;"
>
倍数
</p>
<p
class=
"speed"
style=
"font-size: 0.4rem; line-height: 0.7rem;"
>
倍数
</p>
...
...
play/index.js
View file @
2dcea14c
...
@@ -246,7 +246,10 @@ class PlayView {
...
@@ -246,7 +246,10 @@ class PlayView {
$
(
"
.video
"
).
attr
(
"
src
"
,
this
.
data
.
video
);
$
(
"
.video
"
).
attr
(
"
src
"
,
this
.
data
.
video
);
const
video
=
$
(
"
#video
"
)[
0
];
const
video
=
$
(
"
#video
"
)[
0
];
video
.
currentTime
=
1
;
video
.
play
();
setTimeout
(()
=>
{
video
.
pause
();
},
10
);
let
i
=
setInterval
(()
=>
{
let
i
=
setInterval
(()
=>
{
if
(
video
.
readyState
>
0
)
{
if
(
video
.
readyState
>
0
)
{
...
...
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