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

    178
    91
    28
    Jul 29, 2019
    USA
    Ratings:
    +140
    Local Time:
    9:30 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,371
    1,353
    113
    May 25, 2014
    Ratings:
    +2,112
    Local Time:
    10:30 AM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    49,586
    11,382
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,686
    Local Time:
    12:30 PM
    Nginx 1.21.x
    MariaDB 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:
    10:30 AM
    2
    10
    I also apply this by custom coded Youtube embed which is supported by Xenforo.
     
  5. Rake-GH

    Rake-GH Active Member

    178
    91
    28
    Jul 29, 2019
    USA
    Ratings:
    +140
    Local Time:
    9:30 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:
    4:30 AM
    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.