当前位置:首页 > 资讯 > 茶叶知识> 正文
window.__SINAFLASHURL__ = window.$SINAFLASHURL; var $SCOPE = {}; window.$FlashConfig = { url: __SINAFLASHURL__, container : "Video_Cont", id: "myMovie", width: 640, //宽 height: 360, //高 params : { allowNetworking : "all", allowScriptAccess : "always", wmode : "opaque", allowFullScreen : "true", quality : "high" }, attributes: {}, }; $SCOPE['video'] = { video_id:294440825 , //视频id,必须 pid: '1', //频道id url: 'https://k.sina.com.cn/article_6709025585_m18fe39b3100100ge0u.html?from=movie', //页面url title: "来到重庆的第一个早餐,一碗粥,一碟榨菜和一个茶叶蛋", //视频标题 swfOutsideUrl: '' //分享url //其它参数根据业务需求添加 } if($SCOPE['video'].video_id == ''){ // 无视频id的情况 window.$FlashConfig.flashvars.playmode = 1; playVideo($FlashConfig); }else{ // 有视频id的情况 var player = playVideo($FlashConfig); player.init($SCOPE.video); //player.playVideo(videoConfig.video_id); }
来到重庆的第一个早餐,一碗粥,一碟榨菜和一个茶叶蛋
2021-03-15 15:40:39热度:218°C
window.__SINAFLASHURL__ = window.$SINAFLASHURL; var $SCOPE = {}; window.$FlashConfig = { url: __SINAFLASHURL__, container : "Video_Cont", id: "myMovie", width: 640, //宽 height: 360, //高 params : { allowNetworking : "all", allowScriptAccess : "always", wmode : "opaque", allowFullScreen : "true", quality : "high" }, attributes: {}, }; $SCOPE['video'] = { video_id:294440825 , //视频id,必须 pid: '1', //频道id url: 'https://k.sina.com.cn/article_6709025585_m18fe39b3100100ge0u.html?from=movie', //页面url title: "来到重庆的第一个早餐,一碗粥,一碟榨菜和一个茶叶蛋", //视频标题 swfOutsideUrl: '' //分享url //其它参数根据业务需求添加 } if($SCOPE['video'].video_id == ''){ // 无视频id的情况 window.$FlashConfig.flashvars.playmode = 1; playVideo($FlashConfig); }else{ // 有视频id的情况 var player = playVideo($FlashConfig); player.init($SCOPE.video); //player.playVideo(videoConfig.video_id); }