MyBB Community Forums

Full Version: YouTube.com Integration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
An easy and secure way to post YouTube videos directly in posts.
This sounds like fun, Im going to look into this.

Ok, I've done it, as far as my testing has gone, its works quite well. Any changes, just ask.. Live test, try it out: http://www.cragllo.com/testforum/showthread.php?tid=1

Im not too good with the plugin system of MyBB, but I did my best...
Plugin attached

/Cragllo
all i get is a blank. Could it be that I am using Firefox?
To use the plugin simply type like so:
[youtube]Youtube code here[/youtube]
e.g
[youtube]YP1ug0Xsw1M[/youtube]
ok i got it thanks

I just copied the url from youtube and put it in the tags then realized you just take the last part of the link.

:lol:
Is there a way to intergrate YouTube directly in posts? I'm using MyBB 1.2.1
I was goin to try using it with this current version of MyBB. But there is no codebuttons.js within the jscripts directory (jscripts/codebuttons.js).
cragllo, is there some way to update to the current version so that your plugin could be used in, MyBB 1.2.1 ?

Thanks in advance.
I will look into all this as soon as I can, Im a bit busy with college work atm. Im going to think of better ways to do it and what not too.
Yea. I was experimenting with this code in particular. In your readme, you say that the code should be entered in the jscripts/codebuttons.js file, but in MyBB 1.2.x, there is only one called editor.js

I tried to play with this code a bit, but no luck for me. Someone else needs to get this going.
it would be really good if we can use it in our 1.2.x forum...
I wrote one like this a few weeks ago!

http://mods.mybboard.com/view.php?did=420

Enjoy!

If you want an example of it in work go to

http://www.rogem.net/forums/showthread.php?tid=5