• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior AAC] YouTube bbcode to forum.php

Taste

Member
Joined
Apr 6, 2012
Messages
81
Reaction score
5
Hello!

Is there anyone out there who might have this or able to code this?

Description - Use the movie code from the YouTube URL in your browser. For example, YouTube - Broadcast Yourself.JFwCCL0Vh6U

Title - YouTube
Tag - [youtube][/youtube]

Example - [youtube]JFwCCL0Vh6U[/youtube]

Should appear as an embedded video in the post if you're using the youtube tag.

I would really appreciate if anyone could help with this. :)

Thanks in advance!

- - - Updated - - -

How can I add something like this into Gesior forum.php?

Code:
[youtube]{IDENTIFIER}[/youtube]

Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Code:
[youtube]Asm7WOi8ux8[/youtube]
 
Last edited:
Back
Top