开发者 | playerjs |
---|---|
更新时间 | 2025年2月26日 00:02 |
PHP版本: | 5.2.4 及以上 |
WordPress版本: | 6.7.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/playerjs
directory, or install the plugin through the WordPress plugins screen directly.Plugins
screen in WordPress.[playerjs file="//plrjs.com/x.mp4"]
Sample shortcode with quality selection:
[playerjs file="[480]//site.com/480.mp4,[720]//site.com/720.mp4"]
You can show in the player invisible username in a random place to protect against screen recording. Enable watermarks plugin in the builder, update your player and pass to shortcode watermark=1.
[playerjs file="URL" watermark=1]
Sample shortcode with JSON playlist:
[playerjs file="[{'title':'1','file':'http://plrjs.com/x.mp4'},{'title':'2','file':'http://plrjs.com/x.mp4'}]"]
or
[playerjs file="//site.com/json.txt"]
You can find complete documentation here:
You can use option height:
in shortcode (height:300), when aspect ratio is set to value container size
.