Commit 0fe51c0b by libai

测试

parent 52cf40b3
Showing with 2 additions and 2 deletions
...@@ -187,10 +187,10 @@ $(function(){ ...@@ -187,10 +187,10 @@ $(function(){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
var iosUrl=details.videos[0].url.replace("flv","mp4") 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://zhibocdn.yabolive.net/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://big.bgp.ourpow.com/comm'+iosUrl+'" id="videoElement" controls loop></video>')
}else{ }else{
$(".recommend-swiper").html('<video poster="https://zhibocdn.yabolive.net/comm'+details.videos[0].cover+'" autoplay class="video" src="" id="videoElement" controls loop></video>') $(".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://zhibocdn.yabolive.net/comm'+details.videos[0].url+'') flvPlay('https://big.bgp.ourpow.com/comm'+details.videos[0].url+'')
} }
// //console.log('https://zhibocdn.yabolive.net/comm'+details.videos[0].url+'') // //console.log('https://zhibocdn.yabolive.net/comm'+details.videos[0].url+'')
var html=[]; var html=[];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment