• 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

time

Active member
#1
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/
{$id}
?v=2&alt=jsonc&callback=youtubeFeedCallback"></script>

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
 

Jeremy

Well-known member
#2
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.