Commit 4ace1e1e by doszhang

dos

parent 8267592e
......@@ -145,7 +145,7 @@ function backToMap () {
}
function videoEnd () {
$('.bj-img').show();
$('.video-block').hide();
allowPrize = true;
video.removeEventListener('ended', videoEnd);
......@@ -187,11 +187,16 @@ function tryPrize () {
}
function handleCityClick (event) {
//播放哈尔滨视频
$('.video').attr('src', 'http://media.izhida.cn/' + event.data.types + '.mp4');
$('.video')[0].play();
$('.video-block').show();
setTimeout(function(){
$('.bj-img').show();
},1000)
//视频播放结束事件
video.addEventListener('ended',videoEnd);
}
......
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