首页 > 代码库 > [酷播云]视频调用效果(酷播云代码使用)

[酷播云]视频调用效果(酷播云代码使用)

[酷播云]视频调用效果(酷播云代码使用)示例

第1种:多终端 (推荐使用,该代码可自动兼容微信、手机、PC、平板、智能电视终端)

    <script src=http://www.mamicode.com///player.polyv.net/script/polyvplayer.min.js></script> 
    <div id=plv_e785b2c81c9b1b3d4d37a8c476ebe69f_e></div> 
    <script> 
    var player = polyvObject(#plv_e785b2c81c9b1b3d4d37a8c476ebe69f_e).videoPlayer({ 
        width:600, 
      height:338, 
        vid : e785b2c81c9b1b3d4d37a8c476ebe69f_e 
    }); 
    </script> 
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     width="600" height="338"
     id="polyvplayere785b2c81c9b1b3d4d37a8c476ebe69f_e">
    <PARAM NAME=movie 
    VALUE="http://player.polyv.net/videos/player.swf" />
    <param name="allowscriptaccess" value=http://www.mamicode.com/"always" />
    <param name="wmode" value=http://www.mamicode.com/"Transparent" />
    <param name="flashvars" value=http://www.mamicode.com/"vid=e785b2c81c9b1b3d4d37a8c476ebe69f_e" />
    <param name="allowFullScreen" value=http://www.mamicode.com/"true" />
    <EMBED src=http://www.mamicode.com/"http://player.polyv.net/videos/player.swf" width="600" height="338" 
     TYPE="application/x-shockwave-flash" 
    allowscriptaccess="always" wmode="Transparent" 
    name="polyvplayere785b2c81c9b1b3d4d37a8c476ebe69f_e" 
    allowFullScreen="true" flashvars="vid=e785b2c81c9b1b3d4d37a8c476ebe69f_e"></EMBED>
    </OBJECT> 

 

[酷播云]视频调用效果(酷播云代码使用)