跳到内容

Velocity – Video Lazy Loading for YouTube, Twitch and Vimeo

v1.2.1

connekthq · 2016年3月3日 上架

Improve website performance by lazy loading and customizing your YouTube, Vimeo, Twitch and SoundCloud media embeds.

正在使用
200+
评分
4.8 / 5
累计下载
9,830
最近更新
2020年1月5日
6 条评价需要 WordPress 4.0+已测试到 5.3.28

贡献者

截图

Settings.
Settings.
Velocity shortcode builder.
Velocity shortcode builder.
Add Velocity (page/post edit screen).
Add Velocity (page/post edit screen).
Velocity lightbox (page/post edit screen).
Velocity lightbox (page/post edit screen).

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

Shortcode Parameters

  • 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)

Website

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums