Want to subscribe to topics you're interested in?
Become a Member

This site's Youtube embed thumbnail proxy

Discussion in 'Forum software usage' started by Rake-GH, Oct 13, 2020.

  1. Rake-GH

    Rake-GH Active Member

    147
    74
    28
    Jul 29, 2019
    USA
    Ratings:
    +112
    Local Time:
    8:14 AM
    default
    default
    This forum proxies the Youtube thumbnail, which seriously reduces the load time of the page, and serves that instead of the embed.

    Here is an example:


    My website largely revolves around my Youtube channel and this feature would be very beneficial to me.

    I assume this is custom made by eva, as I haven't seen this anywhere else. I don't see any Xenforo addons that do this, but I'm curious if maybe there is or how I could do this as well.
     
  2. rdan

    rdan Well-Known Member

    4,990
    1,190
    113
    May 25, 2014
    Ratings:
    +1,812
    Local Time:
    8:14 PM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    45,441
    10,312
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,994
    Local Time:
    10:14 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Yes you can use an addon like @rdan posted. However, I am not using an addon but just custom coded Youtube embed and other video embeds supported by Xenforo all get the same treatment with a custom Youtube thumbnail loaded for page speed. Just saves worry about another addon :)

    yt-proxy-browser-source.png yt-proxy-thumbnails-01.png yt-proxy-thumbnails-02.png