该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Optimize Youtube Video

描述

  • 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

评价

此插件暂无评价。

贡献者及开发者

“Optimize Youtube Video” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Optimize Youtube Video”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

= 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