Page 1 of 1

New BBCode [youtube]

Posted: Wed Apr 11, 2012 6:33 am
by The009
Hello All,

I have added a youtube code for you all, you may use it to include youtube vids into the forums.

DON'T ABUSE IT.

Example:


Code: Select all

[youtube]6KCDZoQTCSM[/youtube]
This was a custom BBCode, so if you find a bug please let me know so I can look back into the youtube api and fix it.

The Current settings are to allow full screen playback, and to auto hide the controls as well as auto hide any annotes that might be over top of the video. But all options are given to the user to bring them back into the video as stranded youtube player settings.

I hope this will help you all with sharing music and music vids and user created vids.

Let me know if you have issues.

Regards,
The009

Re: New BBCode [youtube]

Posted: Wed Apr 11, 2012 9:31 am
by SuperV
I'd just like to thank you for this code. It looks really kick-*.
Hopefully it didn't take you too long to code.

Re: New BBCode [youtube]

Posted: Wed Apr 11, 2012 10:03 am
by The009
SuperV wrote:I'd just like to thank you for this code. It looks really kick-*.
Hopefully it didn't take you too long to code.
It took about 15 min of test and confirm.

Its a very simple BBCode but it is using the newest settings from the api so some of it was trial and error is all.

Re: New BBCode [youtube]

Posted: Wed Apr 11, 2012 2:27 pm
by Baka
Thank you 009! It's nice to see a preview of the videos posted and not blindly click something that might or might not involve goats.