Simple shortcode for JW Player 7
v1.2.1dirlikdesigns · 2016年3月11日 上架
Plugin for JW player 7 that is compatible with the basic shortcodes from JW player 6 plugin
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 3,272
- 最近更新
- 2016年6月7日
需要 WordPress 4.0+已测试到 4.5.33
贡献者
Plugin for JW player 7 that is compatible with the basic shortcodes from JW player 6 plugin.
This plugin works with the self-hosted version of JW Player. To get it, you need to sign up on https://www.jwplayer.com.
Shortcode
[jwplayer]
This is a list of mostly self explanatory attributes for the shortcode / video player.
- width
- height
- image
- file
- title
- description
- ratio
- mediaid
- controls
- autostart
mediaid is the wordpress id of a file you have uploaded in the media library. If this is set, the plugin will get the title, description and thumbnail from that file, not from the shortcode.
If you set for instance: [jwplayer width=”100%” ratio=”16:9″], then the video will be responsive.
TODO
- more attributes?