MyBB Community Forums

Full Version: YouTube plugin - very small,very simple
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
here's my little selfmade plugin
[attachment=11448]

* you can paste the complete youtube URL between the tags [youtube] tags
* doesn't matter if you have national subdomain prefix (e.g. de.youtube.com) or some trash at the end
* you must adjust the width/height values in the sourcecode below yourself (if you want no default youtube video resolution)
* no bug when multiple videos are included in 1 post

- under the video there will be a link to the original youtube video page (which you can remove if you don't want it)...
if you don't want it, remove this out of the sourcecode
<br><a href="http://www.youtube.com/watch?v=$2">GO TO ORIGINAL YOUTUBE VIDEO</a>

hope you like it Big Grin
hm too simple? more flashy options needed?
is there a button for it? I'll try it out soon. Thanks for the effort!
I didn't think it was this easy.. nice job. Smile
well actually this was very easy, i love simplicity ..
(maybe someone is interested in the flv player plugin, for it solves the stupid MSIE security problems with other flv plugins?)

[attachment=11445]
and yes,there is a button if you need one, but of course i made it to fit the style of my own editor :ß
thank you TStarGermany Smile
i use this mod on my site http://www.24net.gr/forum/

thanks TStarGermany!
how to use this code pl.
just type [youtube]the url of youtube video on your browser[/youtube]

so simple!!!