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
9f09380f
Commit
9f09380f
authored
Oct 06, 2021
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 教师端视频显示
parent
762948de
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
index.html
play/index.html
+1
-1
index.js
play/index.js
+5
-0
No files found.
play/index.html
View file @
9f09380f
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<div
role=
"tea"
id=
"tea"
>
<div
role=
"tea"
id=
"tea"
>
<div
class=
"video-container"
>
<div
class=
"video-container"
>
<video
class=
"video"
src=
""
></video>
<video
id=
"teavideo"
class=
"video"
src=
""
muted
></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 @
9f09380f
...
@@ -245,6 +245,11 @@ class PlayView {
...
@@ -245,6 +245,11 @@ class PlayView {
if
(
this
.
data
.
video
)
{
if
(
this
.
data
.
video
)
{
$
(
"
.video
"
).
attr
(
"
src
"
,
this
.
data
.
video
);
$
(
"
.video
"
).
attr
(
"
src
"
,
this
.
data
.
video
);
const
teavideo
=
$
(
"
#teavideo
"
)[
0
];
teavideo
.
play
();
teavideo
.
pause
();
const
video
=
$
(
"
#video
"
)[
0
];
const
video
=
$
(
"
#video
"
)[
0
];
video
.
play
();
video
.
play
();
video
.
pause
();
video
.
pause
();
...
...
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