作者 景龙
1 个管道 的构建 通过 耗费 0 秒

调试移动端视频

... ... @@ -170,6 +170,14 @@
<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script>
// swiper
var swiper = new Swiper(".swiper-container", {
slidesPerView: 3,
paginationClickable: true,
spaceBetween: 8,
freeMode: true
});
$('.navImg1 img').click(function() {
if ($(this).attr('src') == "__TMPL__/public/assets/images/xx.png") {
$('#video').show();
... ... @@ -182,20 +190,20 @@
$('video').bind('contextmenu', function() {
return false;
});
var video_index = getUrlParam('video_index');
//默认第一个视频
if(video_index == ''){
switch_video(0);
//更换视频路径index
video_index_url(0);
video_share();
}else{
switch_video(video_index);
//更换视频路径index
video_index_url(video_index);
video_share();
}
if(video_index == ''){
switch_video(0);
//更换视频路径index
video_index_url(0);
video_share();
}else{
switch_video(video_index);
//更换视频路径index
video_index_url(video_index);
video_share();
}
//登录
var users = $('#users').val();
... ... @@ -250,13 +258,7 @@
$(".fourth_video_start").hide();
}
// swiper
var swiper = new Swiper(".swiper-container", {
slidesPerView: 3,
paginationClickable: true,
spaceBetween: 8,
freeMode: true
});
$(".select input").click(function() {
if ($(this).next("img").attr("src") == "__TMPL__/public/assets/images/down2.png") {
$(this)
... ...