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
e4c4ffa0
authored
Nov 22, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
b07805c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
2 deletions
mTest/room/css/liveRoom.css
mTest/room/css/liveRoom.less
mTest/room/liveRoom.html
mTest/room/css/liveRoom.css
View file @
e4c4ffa0
...
@@ -1634,3 +1634,14 @@
...
@@ -1634,3 +1634,14 @@
opacity
:
0.5
;
opacity
:
0.5
;
filter
:
blur
(
0.4rem
);
filter
:
blur
(
0.4rem
);
}
}
.play-icon
{
display
:
none
;
position
:
absolute
;
width
:
2rem
;
height
:
2rem
;
top
:
50%
;
left
:
50%
;
margin-left
:
-1rem
;
margin-top
:
-1rem
;
z-index
:
500
;
}
mTest/room/css/liveRoom.less
View file @
e4c4ffa0
...
@@ -1688,3 +1688,14 @@
...
@@ -1688,3 +1688,14 @@
opacity: 0.5;
opacity: 0.5;
filter: blur(0.4rem);
filter: blur(0.4rem);
}
}
.play-icon{
display: none;
position: absolute;
width: 2rem;
height: 2rem;
top: 50%;
left: 50%;
margin-left: -1rem;
margin-top: -1rem;
z-index: 500;
}
\ No newline at end of file
mTest/room/liveRoom.html
View file @
e4c4ffa0
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<script
src=
"../lib/fsize.js"
></script>
<script
src=
"../lib/fsize.js"
></script>
<link
rel=
"stylesheet"
href=
"../css/base.css"
>
<link
rel=
"stylesheet"
href=
"../css/base.css"
>
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<link
rel=
"stylesheet"
href=
"css/liveRoom.css?v=202211220
1
"
>
<link
rel=
"stylesheet"
href=
"css/liveRoom.css?v=202211220
8
"
>
<link
rel=
"stylesheet"
href=
"../css/login.css?v=2022111808"
>
<link
rel=
"stylesheet"
href=
"../css/login.css?v=2022111808"
>
<script
src=
"https://accounts.google.com/gsi/client"
async
defer
></script>
<script
src=
"https://accounts.google.com/gsi/client"
async
defer
></script>
<script
async
defer
crossorigin=
"anonymous"
src=
"https://connect.facebook.net/en_US/sdk.js"
></script>
<script
async
defer
crossorigin=
"anonymous"
src=
"https://connect.facebook.net/en_US/sdk.js"
></script>
...
@@ -121,6 +121,7 @@
...
@@ -121,6 +121,7 @@
</div>
</div>
<div
class=
"room-bg"
>
<div
class=
"room-bg"
>
<img
class=
"play-icon"
src=
"../images/play-icon.png"
alt=
""
>
<div
class=
"touch-box"
></div>
<div
class=
"touch-box"
></div>
<div
class=
"layer-shadow"
></div>
<div
class=
"layer-shadow"
></div>
<div
style=
"display: none;"
class=
"mc-out-box"
>
<div
style=
"display: none;"
class=
"mc-out-box"
>
...
@@ -725,7 +726,12 @@ $(function(){
...
@@ -725,7 +726,12 @@ $(function(){
// flvPlay(data.pullFlowUrl)
// flvPlay(data.pullFlowUrl)
$
(
"#myVideo"
).
on
(
"error"
,
function
(
e
){
$
(
"#myVideo"
).
on
(
"error"
,
function
(
e
){
// window.location.reload()
$
(
".play-icon"
).
show
()
$
(
".play-icon"
).
unbind
(
"click"
,
function
(){
var
myVideoEle
=
document
.
getElementById
(
'myVideo'
)
myVideoEle
.
play
()
$
(
".play-icon"
).
fadeOut
(
200
)
})
})
})
$
(
"#myVideo"
).
on
(
"canplay"
,
function
(){
$
(
"#myVideo"
).
on
(
"canplay"
,
function
(){
...
...
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