Easily Embed Dynamic Lazy Loading Youtube Videos And More Simply By Pasting The Url.
Easily Embed Dynamic Lazy Loading Youtube Videos And More Simply By Pasting The Url.
This plugin does most of the work client side, and waits for the page to finish loading so embeds do not slow down your site.
Shortcodes are not needed (but are available), just add a clickable link to the youtube video, and the plugin will find all the youtube.com and youtu.be links, and replace them with an embed.
You know how sites like discord let you paste a youtube url, and an embed of the video shows up?
This plugin works kind of like that, while also working with playlists, live streams, channels, youtube search, etc.
YouTube has an organized url system, and this plugin recognizes it.
Every youtube playlist id starts with “PL”, and youtube uses many other consistent url methods like this.
Now supports local pdf embeds.
Now supports google doc to pdf embeds.
This plugin allowes you to optionally load assets from cdn.jsdelivr.net, to improve performance and load the assets from the github repository of this plugin. By default, the plugin loads assets locally, but you can change this to use jsdelivr in the plugin settings. When Enabled, The jsdelivr Acceptable Use Policy and Privacy Policy Apply.
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
Added Google Doc To PDF Support
Improved Lazy Loading
Removed Facebook Support For Leagal Reasons
Now ignores links inside headers and footers
Added optional overriding of iframes and wp-embed
Added option to only embed shortcodes
Added support for embedding images
Now ignores links that include class, id, or name attributes (to allow button links to work as normal)
Added support for pdf files
Added option to load scripts and styles from jsdelivr.net (can improve performance)
Initial Commit