MyBB Community Forums

Full Version: Automatic embedding of videos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Is there a modification for the automatic embedding of youtube videos? So that I can just post a link to a youtube video and the site will auto embed it.

And not just youtube, what about myspace, facebook, break, yahoo video, google video, ebaums world, dailymotion, liveleak, revver, jig-jab, photobucket, flurl, spike.............

I did a search before I posted this and found one modification that uses a [yt] tag. I do not want to use tags, its too difficult for new members. Any suggestions?
There was one where you put [youtube]Video URL[/youtube]... or if you allow HTML you can just put the code YouTube gives you.
It appears that none currently work on 1.4.1 at least not with out breaking the ability to put image attachments up there, referring to the YouTube Videobox Plug-in, it will hose your attachments on your 1.4.1 install at least.

And as far as the the link for the tube-video-gallery-plugin. Well it looks cool, love to use it. Not touching something that hasn't been updated since April when it comes to 1.4.1 I've learned my lesson on that one...ha

As for the youtube tag one. I can't seem to find that one anywhere. Except it is referenced in the myspace plug in which I can find with no problem.

I would like to avoid activating HTML in posts, and really want to make it as easy as possible for my users. But I suppose I could allow for just one forum, and hell if they can copy and paste the ID they can copy and paste the code as well.

But an update for the gallery one would be nifty Wink

Edit: Oh and I just found this thread...LOL Thanks guys...that one pretty much covered it.
I'm certain a YT plugin will be made very soon... I would like one too really...
That would be nice indeed with a gallery? Wink haha...but the MyCode really does the trick. I added some other controls to the replacement html as well, and if you are creative you can do lots of stuff with it from there.

I'm still in the process of building this site that I was referring to, so I've been quite busy with that as of late. But as I get time here and there. I plan on using my dev forum, to get more familiar with this code, and maybe I'll start to work on some Mods myself, or try to help with ones that are already going.

I'm a big fan of this software, and I think it's got real promise down the road. Hell it's pretty damn good now for only being v1.4. Should be fun to watch this project develop...and even more fun to be a part of it in some way. I've tried MyBB in the past but needed a more mature solution at the time, but the improvements to the Admin CP, and the over all feel of 1.4, made me come back, and am I ever glad I did. The over all project and how Mods are made available needs some work of course...lots of stuff does, that's what this is all about. I unlike most understand that takes time, especially the fact that most people miss this is not a full time job, but a hobby on the side. Trust me I get it and empathize 100%.

So once I get more familiar with every bit of MyBB and get my forum set up, I would like to start helping where I can.

Keep up the good work guys....some of us really do appreciate it.
how about this one....

automatically turns a link like http://www.youtube.com/watch?v=dMH0bHeiRNg into an embeded video

Make a new "MyCode"

Title: Youtube auto embed

Description: Auto embed a youtube video from the link.

for regular expression:
http://(www.)?youtube.com/watch\?v=([A-Za-z0-9_]*)(.*)?

for replacement:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/$2&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/$2&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

Enabled: Yes
Parse Order: 0
(2008-09-12, 11:46 PM)goughy000 Wrote: [ -> ]how about this one....

automatically turns a link like http://www.youtube.com/watch?v=dMH0bHeiRNg into an embeded video

1 thing is that it doesn't works with videos ID with underscores, isn't it?
(2008-09-13, 03:02 AM)xiaozhu Wrote: [ -> ]
(2008-09-12, 11:46 PM)goughy000 Wrote: [ -> ]how about this one....

automatically turns a link like http://www.youtube.com/watch?v=dMH0bHeiRNg into an embeded video

1 thing is that it doesn't works with videos ID with underscores, isn't it?

thanks, updated post!
Wow, this one for youtube is amazing.
Can you make one for Google video, MetaCafe and DailyMotion?
Pages: 1 2 3