ENG

通知公告

if (1> 1) { laypage({ cont: $("#page"), pages:1, skip: false, skin: '#707070', curr:1, groups: 10, formatUrl: '/news/notice/{page}' }); }

注册

  • 看不清?点击换图

$(function() { $("#showCode").click(function(){ $(".appletCode_alert").show(); return false; }); $("body,html").click(function(){ $(".appletCode_alert").hide(); }); //视频播放 //var host = location.protocol + '//' + location.host; var videoObject = { container: '#videobox1', //容器的ID或className variable: 'player', //播放函数名称 autoplay: true, //是否自动播放 debug: true, //是否开启调试模式 drag: 'start', //拖动的属性 seek: 0, //默认跳转的时间 playbackrate: -1, mobileCkControls: false }; // palybtn function ckplayerX($showbtn, $hidebtn) { var player; $(document).on('click', $showbtn, function() { $(".l-recruitmentfloat").fadeIn(300); _videofile = $(this).data('vlink'); videoObject.video = _videofile; player = new ckplayer(videoObject); }) $(document).on('click', $hidebtn, function() { stop(); }); $(document).on('click', function(e) { if($(e.target).hasClass('l-recruitmentfloat')) { stop(); } }); function stop() { player.videoPause(); $('.l-recruitmentfloat').fadeOut(300); $(".l-recruitmentfloat .l-videobox").html(""); } } ckplayerX('.video-play-button', '.l-recclosebtn'); });