wordpress怎么调用/插入B站直播/bilibili视频

先看迪乐直播间,是调用的b站的直播间。

b站原地址:http://live.bilibili.com/1517244

 

wordpress怎么调用/插入B站直播/bilibili视频

 

我把我的调用的源码给大家。

<object id="player_object" style="visibility: visible;" data="http://static.hdslb.com/live-static/swf/LivePlayerEx_1.swf?201610311409" type="application/x-shockwave-flash" width="91%" height="450px">
<param name="allowfullscreeninteractive" value="true" />
<param name="allowfullscreen" value="true" />
<param name="quality" value="high" />
<param name="allowscriptaccess" value="always" />
<param name="wmode" value="transparent" />
<param id="flash-vars" name="flashvars" value="onready=playerOnReady&amp;autoload=1&amp;cid=1517244&amp;room_id=1517244&amp;start=1477924611&amp;cover=http://i0.hdslb.com/bfs/live/1517244.jpg?10311658&amp;state=PREPARING&amp;rnd=1477924611" />
</object>

红色是我直播ID,橙色是宽度和高度。 把1517244改为自己的ID.

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: