Get the most out of your Centmin Mod LEMP stack
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

    150
    78
    28
    Jul 29, 2019
    USA
    Ratings:
    +116
    Local Time:
    5:32 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

    5,009
    1,213
    113
    May 25, 2014
    Ratings:
    +1,839
    Local Time:
    6:32 PM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    45,703
    10,377
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,103
    Local Time:
    8:32 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
     
  4. Inchmeal

    Inchmeal New Member

    2
    0
    1
    Oct 30, 2020
    Ratings:
    +0
    Local Time:
    6:32 PM
    2
    10
    I also apply this by custom coded Youtube embed which is supported by Xenforo.
     
  5. Rake-GH

    Rake-GH Active Member

    150
    78
    28
    Jul 29, 2019
    USA
    Ratings:
    +116
    Local Time:
    5:32 AM
    default
    default
    Thank you for your replies!