'); doc.close(); window.setInterval("autoToHeight()",10); } function initVedioPlayer(){ if(vedioPlayList && vedioPlayList.length > 0){ var control = flowplayer( "videoPlay", "/static/thirdparty/jquery/flowplayer/v3.2.6/flowplayer-3.2.7.swf", { playlist : vedioPlayList, plugins : { controls : { playlist : true, autoHide : { fullscreenOnly : true }, tooltips : { buttons : true, play : '播放', fullscreen : '全屏', fullscreenExit : '退出全屏', pause : '暂停', mute : '静音', unmute : '取消静音', next : '下一个', previous : '上一个' } } }, clip : { scaling : 'fit', autoPlay : false, autoBuffering : true } } ); var api = flowplayer(); }else{ jQuery('#videoPlay').remove(); } }