...
|
...
|
@@ -182,6 +182,21 @@ |
|
|
$('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();
|
|
|
}
|
|
|
|
|
|
//登录
|
|
|
var users = $('#users').val();
|
|
|
if (users == 0) {
|
...
|
...
|
@@ -191,9 +206,11 @@ |
|
|
//解决从定位视频进入
|
|
|
var city_id_video = $('.city_video_id').val();
|
|
|
//非独角星球视频模块
|
|
|
if(city_id != 68 && city_id_video != 68){
|
|
|
if(city_id != 68){
|
|
|
if(city_id_video != 68){
|
|
|
video_mask('您还不是会员,可试看20秒');
|
|
|
}
|
|
|
}
|
|
|
var video = document.getElementById('video');
|
|
|
//使用事件监听方式捕捉事件
|
|
|
video.addEventListener("timeupdate", function() {
|
...
|
...
|
@@ -254,20 +271,6 @@ |
|
|
$(".select ul").toggle();
|
|
|
}
|
|
|
});
|
|
|
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();
|
|
|
}
|
|
|
|
|
|
//点击切换
|
|
|
$('.curren li').click(function() {
|
|
|
var index = $(this).index();
|
...
|
...
|
|