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
00d58ceb
authored
May 09, 2023
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
229d9cd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
room/liveRoom.html
room/liveRoom.html
View file @
00d58ceb
...
@@ -2025,11 +2025,9 @@ $(function () {
...
@@ -2025,11 +2025,9 @@ $(function () {
var html=[];
var html=[];
if(imagesList.videos[0].wide>imagesList.videos[0].high) html+='
<
video
style
=
"width:775px;max-height: 900px"
controls
src
=
"https://zhibocdn.yabolive.net/comm'+imagesList.videos[0].url.replace("
.
flv
","
.
mp4
")+'"
>
';
if(imagesList.videos[0].wide>imagesList.videos[0].high) html+='
<
video
style
=
"width:775px;max-height: 900px"
controls
src
=
"https://zhibocdn.yabolive.net/comm'+imagesList.videos[0].url.replace("
.
flv
","
.
mp4
")+'"
>
';
else html+='
<
video
style
=
"height: 900px;max-width: 775px;"
controls
src
=
"https://zhibocdn.yabolive.net/comm'+imagesList.videos[0].url.replace("
.
flv
","
.
mp4
")+'
"
>
';
else html+='
<
video
id
=
"videoElement2"
style
=
"height: 900px;max-width: 775px;"
controls
src
=
"
"
>
';
$(".layer-photo-content-left").html(html);
$(".layer-photo-content-left").html(html);
$(".layer-photo-content-left video").on("error",function(){
flvPlay2(imagesList.videos[0].url)
// $(".layer-photo-content-left video").attr("src",'
https
:
//zhibocdn.yabolive.net/comm'+imagesList.videos[0].url.replace(".flv",".MP4")+'')
})
}
}
var html=[];
var html=[];
html+='
<
img
class
=
"photo-content-top-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_50"
alt
=
""
>
';
html+='
<
img
class
=
"photo-content-top-face"
src
=
"https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_50"
alt
=
""
>
';
...
...
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