News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Devilmarkus

Youtube BBCode command added

Started by Devilmarkus, 11:22, 11 August 09

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xyphoe

Wasn't there a button for YouTube vids in the reply/post box? I'm sure there was one?

Gryzor

#26
Mmm I think so? But it got lost during an upgrade, I think, because it was hacked code that was swept away when the new files were written... :(

However, from what I see, since Markus first hacked it together (this was actually the first such implementation in the SMF fora, so kudos to him!!!), there's an extension that creates a button so I'll try my hand tonight. Thanks for mentioning it!


Gryzor


Let's see how this plays... The button is reinstated, with lots of new functionality tidbits:
o Adds a BBCode Button to Insert  bbcode.
o Supports standard YouTube videos and YouTube playlists
- Standard: eg
- Playlist: eg http://www.youtube.com/view_play_list?p=595A40209CB17411
o Supports links from YouTube's global site, and several localized sites
> Global (with or without www.) | Brasil | France | India | Ireland | Israel | Italia | Japan | Nederland | Polska | Espana | United Kingdom
> Australia | Hong Kong | Mexico | New Zealand | Deutsche | Canada | Russia | Taiwan | South Korea
o Supports various formats
- YouTube Page url
- Direct Embed url
- ID only
o Specify sizes (Optional)
- eg
- Defaulting to default YouTube sizes if not specified
- Size Protection to prevent embedding videos larger than 780px or less than 100px
o Alternative link and/or text provided for
- Invalid video id/links
- Printer friendly versions
- Disabled bbcoded
- Disabled flash


Powered by SMFPacks Menu Editor Mod