Welcome to Centmin Mod Community
Register Now

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

    179
    93
    28
    Jul 29, 2019
    USA
    Ratings:
    +144
    Local Time:
    1:49 PM
    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,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    1:49 AM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    3:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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:
    1:49 AM
    2
    10
    I also apply this by custom coded Youtube embed which is supported by Xenforo.
     
  5. Rake-GH

    Rake-GH Active Member

    179
    93
    28
    Jul 29, 2019
    USA
    Ratings:
    +144
    Local Time:
    1:49 PM
    default
    default
    Thank you for your replies!
     
  6. Brian Gimbli

    Brian Gimbli New Member

    3
    0
    1
    Mar 10, 2020
    Amsterdam
    Ratings:
    +0
    Local Time:
    8:49 PM
    I think you can quickly embed YouTube videos into a post or page using their URL. For YouTube you use the video URL from “Share this video” under the Share option.