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
99f68603
authored
Nov 18, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
bbdf2146
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
mTest/index.html
mTest/room/liveRoom.html
mTest/index.html
View file @
99f68603
...
@@ -628,7 +628,7 @@ $(function(){
...
@@ -628,7 +628,7 @@ $(function(){
var
html
=
[];
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
roomList
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
data
.
roomList
.
length
;
i
++
){
var
list
=
data
.
roomList
[
i
]
var
list
=
data
.
roomList
[
i
]
html
+=
'
<
a
href
=
"room/liveRoom.html?roomId='+list.roomId+'"
><
li
>
';
html
+=
'
<
a
href
=
"room/liveRoom.html?roomId='+list.roomId+'
&sound=1
"
><
li
>
';
if(list.liveScope==3&&list.selfLock==1)html+='
<
img
class
=
"secret"
src
=
"images/secret-ok.png"
alt
=
""
>
';
if(list.liveScope==3&&list.selfLock==1)html+='
<
img
class
=
"secret"
src
=
"images/secret-ok.png"
alt
=
""
>
';
else if(list.liveScope==3&&list.selfLock==0)html+='
<
img
class
=
"secret"
src
=
"images/secret-no.png"
alt
=
""
>
';
else if(list.liveScope==3&&list.selfLock==0)html+='
<
img
class
=
"secret"
src
=
"images/secret-no.png"
alt
=
""
>
';
html+='
<
div
class
=
"hot-num-box"
><
img
src
=
"images/hot.png"
><
span
>
'+list.onlinenum+'
<
/span></
div
>
';
html+='
<
div
class
=
"hot-num-box"
><
img
src
=
"images/hot.png"
><
span
>
'+list.onlinenum+'
<
/span></
div
>
';
...
...
mTest/room/liveRoom.html
View file @
99f68603
...
@@ -687,6 +687,10 @@ $(function(){
...
@@ -687,6 +687,10 @@ $(function(){
}
}
var soundOk=false
var soundOk=false
if(mySound==1){
if(mySound==1){
_self.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)
html+='
<
video
id
=
"myVideo"
autoplay
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>
'
html+='
<
video
id
=
"myVideo"
autoplay
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>
'
}
else
{
}
else
{
html
+=
'
<
video
muted
id
=
"myVideo"
autoplay
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>
'
html
+=
'
<
video
muted
id
=
"myVideo"
autoplay
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>
'
...
...
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