WordPress中插入哔哩哔哩和Acfun弹幕视频

 

以下代码在编辑文章时,稍作修改后,插入在文本编辑器内就可以了。

修改方法:

首先找到浏览器地址栏内的AV号

例如:http://www.bilibili.tv/video/av819096/

AV号就为819096

然后将代码插入至文本编辑器内,并替换AV号,点击发布文章就可以看到带有檀木的视频啦!

BILIBILI:

<embed id="STK_137722048114034" width="440" height="356" wmode="transparent" quality="high" allowfullscreen="true" flashvars="playMovie=true&auto=1" pluginspage="http://get.adobe.com/cn/flashplayer/" allowscriptaccess="never" src="http://static.hdslb.com/miniloader.swf?aid=这里插入AV号&page=1" type="application/x-shockwave-flash" style="visibility: visible;">

Acfun:

<embed id="STK_138508801747452" width="440" height="356" wmode="transparent" type="application/x-shockwave-flash" src="http://www.acfun.tv/player/ac这里插入AV号" quality="high" allowfullscreen="true" flashvars="playMovie=true&auto=1" pluginspage="http://get.adobe.com/cn/flashplayer/" style="visibility: visible;" allowscriptaccess="never">

授人以鱼不如授人以渔,

这个代码其实很好找到,只需将视频分享至新浪微博上,再对新浪微博的播放窗口使用审查元素就可以查找到这段代码了!

Leave a comment

Your email address will not be published. Required fields are marked *