Resource icon

XenForo Lazy Load YouTube Videos for Xenforo 2 1.0.1

No permission to download

Kevin

Code Monkey
Staff member
Joined
Mar 20, 2004
Location
Pennsylvania
#1
Kevin submitted a new resource:

Lazy Load YouTube Videos for Xenforo 2 - Lazy Load YouTube in XenForo

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...
Read more about this resource...
 
Joined
Feb 16, 2018
#2
Hi @Kevin
thanks to make this addon, make my thread faster with lot of youtube video :)
how to change width/height?
iam use this code on extra.less but not work with this addon enable

.bbMediaWrapper { width: 400px; }

thank you.
 

Kevin

Code Monkey
Staff member
Joined
Mar 20, 2004
Location
Pennsylvania
#3
Hi @Kevin
thanks to make this addon, make my thread faster with lot of youtube video :)
how to change width/height?
iam use this code on extra.less but not work with this addon enable

.bbMediaWrapper { width: 400px; }

thank you.
I'll update it this weekend to respect the bbMediaWrapper class instead of using it's own class. For use here I like a 100% width I left it in there. It's Friday night now local time, I'll post an update either Saturday or Sunday night.
 
Top Bottom