PDA

View Full Version : Embedding you tube videos in posts



kjohnson
30th May 2009, 02:15 PM
Was trying to figure out how to embed a video in a post instead of just pasting the link and came across this tutorial- maybe something that admins might want to add to make the site a little better.

http://www.geekpoint.net/forum-administration-management/4648-youtube-bbcode-vbulletin.html

Seems like an easy thing to add. That link is just instructions based on a post on the VBulletin support forum. (http://www.vbulletin.com/forum/showthread.php?t=195897)


kj

AKPilot
30th May 2009, 03:19 PM
It's an option we're not going to go with. Embedding a video takes a lot of space.

rstaff3
30th May 2009, 04:47 PM
It doesn't take much space, all you get is a few lines of code that opens a viewer on the user's computer. Other than the custom code, it's no different that embedding a photo from you own webstorage...doesn't load TRF at all. Now, there may be a reason not to generate custom code.

AKPilot
30th May 2009, 08:34 PM
If this is the case, then I'm open to it.

andytherocketeer
30th May 2009, 08:58 PM
So long as only a URL displays if I have the "Show Images (including attached images and images in [IMG] code)" checkbox un-checked in my prefs.
I don't want to load up media wherever it may be stored, when browsing from the office, or over mobile, etc.

WiK
30th May 2009, 10:10 PM
Right, all done. Unfortunately it's not possible to make it blockable via a User Option without rewriting half the forum software. If it does get way overused, we can always turn it off. I've added Vimeo support too, since *some* people use it...

Just take the video ID from whichever site, and insert it between the tags.
For example:

youtube.com/watch?v=MdjID2osZ0A goes to


MdjID2osZ0A

Which goes to

MdjID2osZ0A


And for Vimeo:

vimeo.com/2574885 goes to:


2574885

Which goes to...

2574885


Enjoy,
Phil

andytherocketeer
30th May 2009, 10:35 PM
ah the wonders of adblock and noscript ;)
shame the youtube link gets nuked as well as the embedded media.


edit: thanks for the suggested mod to have url too :)

kjohnson
31st May 2009, 04:00 AM
Right, all done. Enjoy,
Phil

Thanks Phil.

kj

JAL3
31st May 2009, 06:30 AM
Right, all done. Unfortunately it's not possible to make it blockable via a User Option without rewriting half the forum software. If it does get way overused, we can always turn it off. I've added Vimeo support too, since *some* people use it...

Just take the video ID from whichever site, and insert it between the tags.
For example:

youtube.com/watch?v=MdjID2osZ0A goes to


MdjID2osZ0A

Which goes to

MdjID2osZ0A


And for Vimeo:

vimeo.com/2574885 goes to:


2574885

Which goes to...

2574885


Enjoy,
Phil


Will this work wit hFlikr video also?

WiK
1st June 2009, 06:41 PM
Sorry, I must've missed this.

No, it'll only work with YouTube or Vimeo at the moment. If there's a desperate need to add another site, I'll look into it, but those are currently the big 2.

Phil

MysticalRockets
1st June 2009, 07:16 PM
It may be me, but I'm of the opinion that Vimeo is better. Yes, they do have an upload limit (a reasonable one), but their normal quality is just as good as YouTube's High Quality. Never mind the oppressive TOS and their reaction to any DMCA filing, even unlawful ones.

WiK
1st June 2009, 08:48 PM
It may be me, but I'm of the opinion that Vimeo is better.

It's you. ;)


Personally I think for any video sharing site, content beats technical quality any day. I also don't like their player, the way the controls pop up over the video. The video load times have also been very slow for me, when I was testing the bbcode for this, it took about 30s to load a 9s video from Vimeo. Maybe it was just a one off, but I've never had a video load that slowly on youtube.

Actually, I only added the Vimeo one because I knew you'd say something if it was only youtube. :D

Phil