XF 1.1 How to get thumbnail of YouTube video

time

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/
{$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
 
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.
 
Top Bottom