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
87e94add
authored
2 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
bfc70807
master
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
mTest/room/liveRoom.html
mTest/room/liveRoom.html
View file @
87e94add
...
...
@@ -698,10 +698,7 @@ $(function(){
$(".room-content-loading").show()
$(".loading-face").show().attr("src","https://zhibocdn.yabolive.net/comm"+data.room.face.split('
?
')[0]+"?x-oss-process=image/resize,w_350")
var loadNum=1
if(sessionStorage.type!='
pwa
'){
if(sessionStorage.lookNum==undefined)sessionStorage.lookNum=1;
else sessionStorage.lookNum=Number(sessionStorage.lookNum)+1;
}
loadT=setInterval(function(){
...
...
@@ -773,16 +770,19 @@ $(function(){
$
(
".play-icon"
).
hide
()
})
$
(
"#myVideo"
).
on
(
"canplay"
,
function
(){
if
(
sessionStorage
.
type
!=
'pwa'
){
if
(
sessionStorage
.
lookNum
==
undefined
)
sessionStorage
.
lookNum
=
1
;
else
sessionStorage
.
lookNum
=
Number
(
sessionStorage
.
lookNum
)
+
1
;
}
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
if
(
sessionStorage
.
lookNum
>=
3
){
setTimeout
(
function
()
{
$
(
".layer-shadow"
).
show
()
loginPage
()
sessionStorage
.
lookNum
=
0
},
3000
);
}
}
clearInterval
(
iosT
)
$
(
".play-icon"
).
hide
()
...
...
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