我修改的一个 Wordpress 的视频插件, 主要因为之前随便搜了一下没有找到支持国内视频共享网站的视频播放插件, 所以照着 Wordpress Youtube Plugin 改了一个, 其实挺简单的, 依样画葫芦就是了. 把改好的放上来算是服务大众吧…
插件说明
名称: aVideo
说明: Allen’s Wordpress Video Plugin, 支持中文视频分享网站的 Flash 播放插件.
版本: 0.9
作者: Allen Hsu
网址: http://www.imallen.com/
下载地址
点击下载 aVideo v0.9
安装方法
将 avideo.php 上传至 wordpress 根目录下的 wp-content/plugins/ 目录, 然后在后台 Plugins 激活 aVideo 即可使用.
使用方法:
使用方法与 Wordpress Youtube Plugin 雷同.
注: 以下所加引号是为了防止转义, 使用时不需要也不能加引号.
YouTube:
["youtube" id]
其中 id 为播放页面地址
http://www.youtube.com/watch?v=fY4Epc2XSGc
中加粗斜体部分
土豆网:
["tudou" id]
其中 id 为播放页面地址
http://www.tudou.com/programs/view/Y2dE5FH-LwE/
中加粗斜体部分
QQ 视频:
["qqvideo" id]
其中 id 为播放页面地址
http://video.qq.com/videopl.htm?v=2HTaRoQGRNr
中加粗斜体部分
Mofile:
["mofile" id]
其中 id 为播放页面中论坛代码
http://tv.mofile.com/cn/xplayer.swf?v=A41L6TYX
中加粗斜体部分
UUme:
["uume" id]
其中 id 为播放页面地址
http://www.uume.com/play_zdLLLAqLedut
中加粗斜体部分
优酷:
["youku" id]
其中 id 为播放页面地址
http://v.youku.com/v_show/id_ce00XODI1ODQ3Ng==.html
中加粗斜体部分
注意: 带 = 号但是不带 00 以及 00 以前的字符
其他 Flash:
["flash" id]
其中 id 为 Flash 地址
专用播放器已都根据默认大小设置, 通用 Flash 播放器大小默认为 400 * 300.
有任何疑问或建议的话欢迎在此留言.






["flash" http://appleshow.cc/tuyastorage/10/11051.swf
["flash" http://appleshow.cc/tuyastorage/10/11051.swf
是这样吗? 可是不好使啊
我的引号是为了防止我的示例被转换成 Flash 加的, 使用时要去掉引号
[code]]通用 Flash 播放器大小默认为 400 * 300[/code]
那如何更改,使适应到Flash本身的大小呢?
等我有时间更新一次, 改一下
Allen,
I am missing something here. I have placed aVideo into the plugins folder of WP and activated it on the admin panel so far so good.
Then I go to youtube and copy the url of the video and paste in the link and all that shows on the WP posting in the link in regular type - no video.
Here is an example of a test that I did with a very short cut off a cell phone.
http://youtube.com/watch?v=oWGZr3b3KUA
I wanted the video to show on the WP blog. What did I do wrong?
Thanks,
Dave
Allen,
I got it figured out.
Dave
不行啊, 一直是 “載入中, 請稍後!”
到底出了什麼問題?
[coolplayer width="400" height="300" autoplay="0" loop="0" charset="utf-8" download="1" mediatype="tudou "]
http://www.tudou.com/programs/view/brEIrPK4c6s/
[/coolplayer]
您說的["tudou" id] 要放在哪兒啊
非常感谢。
这个插件不错,已经在使用了,谢谢楼主分享。
好东西,用来处理youku这类视频的好帮手哦!
what is tag for google video?
http://video.google.com/videoplay?docid=726005694426070470
please add support to google video
yes!!! please support to googlevideo…
thanks.!
楼主,我在使用这个视频插件时,优酷的视频无论如何都是显示连接失败
我的插入的代码是
[youku http://v.youku.com/v_show/id_XMzE2NTkwNzI=.html
这个有错吗?
请帮忙看下,谢谢
to openui:
只要id_后面的部分,就是说你插入时,ID 只需 XMzE2NTkwNzI= 部分,如下:
我为了不让它转移,用前后多了两个空格,你用的时候删掉
[ youku XMzE2NTkwNzI= ]
没用过这个,一直在用WORDUTBE,但是其对国内视频分享网站支持很差。用你这个看看。
谢谢了~
方便的话加个友链吧,我加你了