plugin-icon

Velocity – Video Lazy Loading for YouTube, Twitch and Vimeo

作者:connekthq·
Improve website performance by lazy loading and customizing your YouTube, Vimeo, Twitch and SoundCloud media embeds.
评级
4.8/5
版本
1.2.1
活跃安装
300
最后更新
Jan 4, 2020
Velocity – Video Lazy Loading for YouTube, Twitch and Vimeo

Velocity is an alternative loading method to the standard to YouTube, Vimeo, Twitch and Soundcloud iframe embeds.

With Velocity you will decrease the loading time and increase overall performance of your website by lazy loading media on-demand instead of on initial page load.

To add Velocity to your site, simply create a Velocity shortcode by selecting a preview image and media type using the intuitive shortcode builder then add the generated snippet to your page.

Get More Information

简码参数

  • type – Choose a media type [youtube, vimeo, twitch, soundcloud].
  • id – The ID of the media item.
  • options – Add optional styling and display parameters for the embedded media – e.g. rel=0&controls=0&showinfo=0.
  • playlist – Is this a Soundcloud playlist [true/false].
  • img – The path to the preview image.
  • alt – The alternative text to be attached to the preview image.
  • color – Play button arrow color.
  • bkg_color – Play button background color.

Example Shortcode

[velocity type="youtube" id="239793212" img="http://yourwebsite.com/wp-content/uploads/2016/01/image-1263626715.jpg" alt="Play Video"]

Tested Browsers

  • Firefox (Mac, PC)
  • Chrome (Mac, PC, iOS, Android)
  • Safari (Mac, iOS)
  • IE10+
  • Android (Native)
  • BB10 (Native)

站点

https://connekthq.com/plugins/velocity/

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.3.20
这个插件是可用的下载,适用于您的站点。