Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cee6ba2f
authored
Nov 23, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
a97f3fa1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
mTest/room/liveRoom.html
mTest/room/liveRoom.html
View file @
cee6ba2f
...
@@ -740,11 +740,11 @@ $(function(){
...
@@ -740,11 +740,11 @@ $(function(){
flvPlayer
.
unload
();
flvPlayer
.
unload
();
}
}
$
(
"#myVideo"
).
on
(
"pause"
,
function
(){
$
(
"#myVideo"
).
on
(
"pause"
,
function
(){
layer
.
msg
(
"视频暂停了"
)
setTimeout
(
function
(){
setTimeout
(
function
(){
var
player
=
document
.
getElementById
(
'myVideo'
);
var
player
=
document
.
getElementById
(
'myVideo'
);
player
.
play
()
player
.
play
()
},
10
00
)
},
5
00
)
})
})
$
(
"#myVideo"
).
on
(
"playing"
,
function
(){
$
(
"#myVideo"
).
on
(
"playing"
,
function
(){
layer
.
msg
(
"视频卡主了"
)
layer
.
msg
(
"视频卡主了"
)
...
@@ -753,6 +753,7 @@ $(function(){
...
@@ -753,6 +753,7 @@ $(function(){
player
.
play
()
player
.
play
()
},
500
)
},
500
)
})
})
$
(
"#myVideo"
).
on
(
"canplay"
,
function
(){
$
(
"#myVideo"
).
on
(
"canplay"
,
function
(){
clearInterval
(
iosT
)
clearInterval
(
iosT
)
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -775,6 +776,16 @@ $(function(){
...
@@ -775,6 +776,16 @@ $(function(){
}
}
})
})
$
(
"#myVideo"
).
on
(
"volumechange"
,
function
(){
layer
.
msg
(
"改变音量了"
)
setTimeout
(
function
(){
soundOk
=
true
$
(
".sound-btn"
).
attr
(
"data-type"
,
"1"
)
$
(
".sound-btn"
).
attr
(
"src"
,
"images/sound-yes.png"
)
$
(
".gift-btn"
).
attr
(
"src"
,
"images/gift-btn.png"
)
$
(
".video-box video"
).
prop
(
"muted"
,
false
)
},
500
)
})
$
(
"body"
).
on
(
"click"
,
function
(){
$
(
"body"
).
on
(
"click"
,
function
(){
if
(
soundOk
==
true
)
return
;
if
(
soundOk
==
true
)
return
;
soundOk
=
true
soundOk
=
true
...
...
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