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.
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/
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



