国内不少朋友都需要在WordPress文章中插入视频,今天推荐一下由@我爱水煮鱼制作(只支持优酷)并由@Neo增强(添加支持土豆、56、搜狐、爱奇异、腾迅、新浪、PPTV)的视频插件wp-video。
wp-video插件根据shortcode短代码功能制作的视频插件。目前支持7大主流视频网站:优酷、土豆、56、搜狐、爱奇异、腾迅、新浪、PPTV。 对PC和iOS平台均支持。在PC端,播放flash,iOS平台(包括mac电脑)以Html5播放。
注:要使用该插件,主机必须支持 cUrl
在文章中插入简码:
[video width="宽" height="高"]视频Url[/video] |
[video width="宽" height="高"]视频Url[/video]
比如:
[video width="600" height="500"]http://v.youku.com/v_show/id_XMjU1MDc3Njg0.html[/video] |
[video width="600" height="500"]http://v.youku.com/v_show/id_XMjU1MDc3Njg0.html[/video]
下载地址:https://github.com/ineo6/wp_video
来源:
https://www.wpdaxue.com/wp-video.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_32894.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57