Page 2 of 2

Re: Rules - Please read before you post

Posted: Sun Oct 11, 2020 6:37 pm
by Schwanzenstuck
I made a mistake in my previous post, which is fixed now. I had forgotten to add an ] as the closing tag. Maybe this caused the trouble you had ?!

No matter if this was the case or not I'll try my best to explain how the embed function works.

The functionality we have added to the forum parser, reads the watch?v= parameter from a common youtube link and then inserts this part into the object embed function code that embeds youtube videos. Below is some explanation of how to use the embed function correctly.

This is a common youtube link:

Code: Select all

https://www.youtube.com/watch?v=QmyjivY8HRk
The 11 characters long parameter behind watch?v= tells youtube which video we want to view or embed, in this case:

Code: Select all

QmyjivY8HRk
You have to put this line of code into your post or you may use the youtube button above the comment field as well

Code: Select all

[youtube][/youtube]
In the middle of this snippet, you have to paste your youtube link. In this case:

Code: Select all

https://www.youtube.com/watch?v=QmyjivY8HRk
The whole code should be displayed in the comment field like this and embed your video properly after posting.

Code: Select all

[youtube]https://www.youtube.com/watch?v=QmyjivY8HRk[/youtube]
Important: You can't use Youtu.be links or any other form of shortened links atm. Your video url must begin with youtube.com and end with the 11 letters and digits that tell youtube what video you want to view. There should be no more attached parameters like &feat= and stuff like that.

If you still encounter problems with the embed functions please let me know. I will also talk to my Bro if we can use an specialized embed extension that makes the use of youtube tags obsolete. For now, the way described above is the way to go.

Re: Rules - Please read before you post

Posted: Tue Oct 13, 2020 2:45 am
by SolutOdka
Thank you for the detailed answer and explanation :). I now understand much better, and my issue was the fact I was putting the playlist link, while it should be the individual video link. It is now working very fine :cheers: !

Thank you :) !