1. 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

Discussion in 'XenForo Questions and Support' started by time, Sep 8, 2013.

  1. time

    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/

    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
  2. Jeremy

    Jeremy 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.
  3. time

    time Active Member

    I do not think any addon. When share on facebook it does not show thumnbnail YouTube
  4. Jeremy

    Jeremy Well-Known Member

    You mentioned 2 add-ons where the code wasn't working. You should talk to those authors.
    time likes this.

Share This Page