Optimize youtube videos considering webp thumbnails and adapting to any lazyloading plugin.
Author: | Jundell Agbo (profile at wordpress.org) |
WordPress version required: | 5.1 |
WordPress version tested: | 6.0.2 |
Plugin version: | 2.0.1 |
Added to WordPress repository: | 12-07-2022 |
Last updated: | 14-10-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | |
Total downloads: | 1 185 |
Active installs: | 20+ |
Click to start download |
- Simple plugin to optimize youtube videos and improve the site page speed score.
- css and js are minimal and inlined for better performance.
Shortcode
advanced:
[opt-youtube-video id=dQw4w9WgXcQ imgformat=jpg width=480 height=360 title=”Youtube title here” showtitle=1 lazyload=1 lazyattr=data-srcset ytattrs=?autoplay=1&controls=0 ytthumbail=hqdefault thumbnailclass=lazyload]
or
simple:
[opt-youtube-video id=dQw4w9WgXcQ]
youtube thumbnail lists: default, mqdefault, hqdefault, sddefault, maxresdefault
Installation
- Go to Plugins > Add New > Optimize Youtube Video
- Go to Settings > Optimize Youtube Video
Maintainer
ChangeLog