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
a2f44774
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
b99c9b64
master
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
mTest/room/liveRoom.html
mTest/room/liveRoom.html
View file @
a2f44774
...
...
@@ -572,6 +572,7 @@
<script
src=
"../lib/flv.js"
></script>
<script>
$
(
function
(){
var
dHeight
=
$
(
document
).
height
()
$
(
".touch-box"
).
css
(
"height"
,
dHeight
/
2
+
"px"
)
$
(
".touch-box"
).
css
(
"margin-top"
,
-
dHeight
/
5
+
"px"
)
...
...
@@ -707,13 +708,15 @@ $(function(){
html
+=
'
<
video
muted
id
=
"myVideo"
webkit
-
playsinline
=
"true"
x
-
webkit
-
airplay
=
"true"
playsinline
=
"true"
x5
-
video
-
player
-
type
=
"h5"
x5
-
video
-
player
-
fullscreen
=
"true"
style
=
"height:100%;object-fit:fill;position:absolute;z-index: 10"
poster
=
""
src
=
"'+data.pullFlowUrlHLS+'"
><
/video>
'
}
$
(
".video-box"
).
html
(
html
)
var
iosTime
=
0
;
var
iosT
=
null
;
if
(
/android/
.
test
(
ua
)){
flvPlay
(
data
.
pullFlowUrl
)
}
else
{
setTimeout
(
function
(){
var
myPlay
=
document
.
getElementById
(
"myVideo"
)
myPlay
.
play
()
},
3
00
)
iosT
=
setInterval
(
function
(){
iosTime
++
if
(
iosTime
>=
2
)
window
.
location
.
reload
()
},
10
00
)
}
// flvPlay(data.pullFlowUrl)
...
...
@@ -722,7 +725,7 @@ $(function(){
})
$
(
"#myVideo"
).
on
(
"canplay"
,
function
(){
clearInterval
(
iosT
)
setTimeout
(
function
()
{
clearInterval
(
loadT
)
$
(
".room-content-loading"
).
fadeOut
(
100
)
...
...
This diff is collapsed.
Click to expand it.
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