• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 How to get thumbnail of YouTube video


Active member
I use the code inserted

<scripttype="text/javascript">function youtubeFeedCallback(json){
document.write('<img src="'+ json.data.thumbnail.sqDefault +'">');}</script><scripttype="text/javascript"src="http://gdata.youtube.com/feeds/api/videos/

YouTube content (HomeBB> Code Media Sites).

As a result, it automatically displays thumbnails of video content topic, but can not display thumbnails in the forum view (Thread Thumbnails by Waindigo) and portal


Well-known member
If you are using an add-on and something isn't working, you should ask the author's. They can help you debug and determine why it isn't working in their add-ons.