Support Youtube not showing

Compatible XF Versions
2.2.13

Stefan24123

Registered
I'm having an issue with how YouTube links appear on my XenForo forum. Instead of properly embedding the video, the preview only shows a generic YouTube description in German, rather than fetching the actual video title and thumbnail.

1743440570697.png
I want it to be like this.
1743440627559.png
 

adilospro

Registered
I'm having an issue with how YouTube links appear on my XenForo forum. Instead of properly embedding the video, the preview only shows a generic YouTube description in German, rather than fetching the actual video title and thumbnail.

View attachment 15878
I want it to be like this.
View attachment 15879
To display a YouTube video like this, you need to embed it using HTML code. Here's how:
Code:
<iframe width="560" height="315"
    src="https://www.youtube.com/embed/VIDEO_ID"
    title="YouTube video player" frameborder="0"
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
    allowfullscreen>
</iframe>
Replace "VIDEO_ID"<video> with the ID of the video you want to view. You can find the ID in the video link. For example, if the link is <video>,
the ID is <video> abc123XYZ.


If you're using a content management system or want to add one to your site, make sure it supports iframes for embedding videos.
 
Back
Top Bottom