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
671f9f5b
authored
Jul 20, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
3e6fd913
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
index.html
mobile/video.html
room/videoRoom.html
index.html
View file @
671f9f5b
...
...
@@ -363,7 +363,12 @@ $(function(){
if(sessionStorage.jump=='
undefined
'){
sessionStorage.jump=1
}
loginGo()
try{
loginGo()
} catch (e) {
console.log(e)
}
var scrollOk=true;
var pageNumber=1
var typeNum=1
...
...
mobile/video.html
View file @
671f9f5b
...
...
@@ -187,10 +187,10 @@ $(function(){
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
var
iosUrl
=
details
.
videos
[
0
].
url
.
replace
(
"flv"
,
"mp4"
)
$
(
".recommend-swiper"
).
html
(
'
<
video
poster
=
"https://zhibocdn.yabolive.net/comm'+details.videos[0].cover+'"
autoplay
playsinline
class
=
"video"
src
=
"https://
big.bgp.ourpow.com
/comm'+iosUrl+'"
id
=
"videoElement"
controls
loop
><
/video>'
)
$
(
".recommend-swiper"
).
html
(
'
<
video
poster
=
"https://zhibocdn.yabolive.net/comm'+details.videos[0].cover+'"
autoplay
playsinline
class
=
"video"
src
=
"https://
zhibocdn.yabolive.net
/comm'+iosUrl+'"
id
=
"videoElement"
controls
loop
><
/video>'
)
}
else
{
$
(
".recommend-swiper"
).
html
(
'
<
video
poster
=
"https://zhibocdn.yabolive.net/comm'+details.videos[0].cover+'"
autoplay
class
=
"video"
src
=
""
id
=
"videoElement"
controls
loop
><
/video>'
)
flvPlay
(
'https://
big.bgp.ourpow.com
/comm'
+
details
.
videos
[
0
].
url
+
''
)
flvPlay
(
'https://
zhibocdn.yabolive.net
/comm'
+
details
.
videos
[
0
].
url
+
''
)
}
// //console.log('https://zhibocdn.yabolive.net/comm'+details.videos[0].url+'')
var
html
=
[];
...
...
room/videoRoom.html
View file @
671f9f5b
...
...
@@ -218,7 +218,7 @@ $(function(){
html
+=
'
<
video
autoplay
=
""
class
=
"video"
src
=
""
id
=
"videoElement"
controls
=
""
loop
=
""
poster
=
"https://zhibocdn.yabolive.net/comm'+videoList.videos[0].cover+'"
><
/video>'
;
$
(
".video-play-box"
).
html
(
html
)
var
flvUrl
=
videoList
.
videos
[
0
].
url
.
replace
(
"mp4"
,
"flv"
)
flvPlay
(
'https://
big.bgp.ourpow.com
/comm'
+
flvUrl
+
''
)
flvPlay
(
'https://
zhibocdn.yabolive.net
/comm'
+
flvUrl
+
''
)
if
(
data
.
selfUp
==
1
)
var
html
=
'
<
div
><
img
src
=
"images/icon1.png"
alt
=
""
><
span
>
'+data.comment+'
<
/span></
div
><
div
class
=
"good-box"
><
img
class
=
"good-btn"
data
-
type
=
"1"
src
=
"images/icon2-click.png"
alt
=
""
><
span
>
'+data.up+'
<
/span></
div
>
';
else var html='
<
div
><
img
src
=
"images/icon1.png"
alt
=
""
><
span
>
'+data.comment+'
<
/span></
div
><
div
class
=
"good-box"
><
img
class
=
"good-btn"
data
-
type
=
"0"
src
=
"images/icon2.png"
alt
=
""
><
span
>
'+data.up+'
<
/span></
div
>
';
$(".video-btn-box").html(html)
...
...
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