Resource icon

XenForo 2 Lazy Load YouTube Videos for Xenforo 2 1.0.4

No permission to download
Visible Branding
No
Additional Requirements
XenForo 2.x
This is a small add-on that defers loading embedded YouTube videos until the user clicks on the play button.

A preview image is shown as a placeholder with the familiar YouTube 'play' button on top. The video is not loaded until the play button is clicked.

For threads with a lot of embedded YouTube videos, such as the "What are you listening to?" thread here at Alien Soup, this allows the thread to load faster and helps users browsing on slower internet connections and/or older devices.

Please note: On some browsers, such as Chrome for Android devices, the video will not auto-play after being clicked. It will load after clicking the 'play' button but the user must then click the 'play' button of the newly loaded video. This is a restriction of the browser and can not be overridden.

Lazy Load YouTube in Addons.PNG
Lazy Load YouTube Page Load.PNG
Lazy Load YouTube Playing.PNG
  • Like
Reactions: solmaz
Author
Kevin
Downloads
14
Views
1,337
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. CSS Tweaked for large resolutions

    The CSS has been tweaked a bit for handling large resolutions better. Over at the Cameraderie...
  2. Tweaked for XF 2.1.x

    This version requires XF 2.1.0 or above in order to be installed. Fixed to use the minified...
  3. Bug fix & div change

    Two updates in this release... :) Fixed a bug that would have caused multiple images to be...
Top Bottom