开发者 | AspieSoft |
---|---|
更新时间 | 2023年7月26日 00:50 |
捐献地址: | 去捐款 |
PHP版本: | 5.2.4 及以上 |
WordPress版本: | 6.0.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Just put a clickable link to the video/playlist/channel, and the plugin will do the rest.
[auto-embed url="url to video" width="optional width in % (default: 100%)" min-width="optional minimum width in px (default: 300px)" max-width="optional maximum width in px (default: 2500px)" ratio="optional width:height ratio (default: 16:9)" autoplay="optional autoplay video (default: false)" mute="optional mute video (default: false)" live="optional embed live video (default: false)" popular="optional embed popular uploads playlist (default: false)" search="optional embed playlist based on a youtube search (default: false)" ]
Just add "?live" or "&live" to the url. The plugin checks query parameters of the url and makes changes as needed.
Add "?width=any valid css width" to the url.
Add "?ratio=w:h" to the url. Replace "w" with the ratio width, and "h" with the ratio height.
Add a link to your YouTube channel and add "?popular" or "&popular" to the url
Set the link to "https://youtu.be/(insert search query)?search=1"
Add "?min-width=(insert min width)&max-width=(insert max width)" to the url
Any url that points to the current domain and ends with ".pdf" will automatically be seen as a pdf