This plugin hasn’t been tested with the latest three major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Optimize Youtube Video

Description

  • 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

Reviews

There are no reviews for this plugin.

Contributors and Developers

“Optimize Youtube Video” is open source software. The following people have contributed to this plugin.

Contributors

Change Log

= 2.0.0
* simplify the plugin using shortcode

= 1.2.2
* fix nowebp typo
* set hqdefault for desktop
* set mqdefault for mobile

= 1.2.1
* fix vendor

= 1.2.0
* removing variable translations

= 1.1.0
* add option to enable lazyload for loggedin user, escape variables

= 1.0.0
* First major release