PDA

View Full Version : YouTube HD/HQ Embeded Videos?



Cortexian
February 5th, 2009, 04:31 PM
Is it possible to make the videos that we embed on the forums here play in HD/HQ if it's available? If so, I'd like to know the BB replacement for my forums...

InnerGoat
February 5th, 2009, 05:03 PM
Yes (don't know how to offhand though sorry!)

Roostervier
February 5th, 2009, 05:47 PM
http://img6.imageshack.us/img6/8959/hqyoutubefc4.jpg

Don't know how to make it automatically play though. :\

Trinx
February 5th, 2009, 09:55 PM
http://img6.imageshack.us/img6/8959/hqyoutubefc4.jpg

Don't know how to make it automatically play though. :\

you know what I don't hate? you know what I don't hate? you know what I don't hate? I don't hate vests

E: There's probably a way, but I'm not aware of one yet.

Reaper Man
February 6th, 2009, 12:07 AM
[pic]
Don't know how to make it automatically play though. :\
Change your playback settings in your profile, assuming you have one on youtube.

Limited
February 6th, 2009, 04:48 AM
Problem is the BBcode only uses the video value, it doesnt take account of the "fmt" (format) part.

There may be an updated BBcode piece of code that accounts for it.

Part from that you'd have to get it to play HD via youtube website.

RickYng
February 6th, 2009, 08:07 AM
Problem is the BBcode only uses the video value, it doesnt take account of the "fmt" (format) part.

There may be an updated BBcode piece of code that accounts for it.

Part from that you'd have to get it to play HD via youtube website.

The fmt part doesn't affect anything when embedded. You have to use a different HTML code to embed the flash for HQ/HD.

I can dig it out for you guys to add as a BBCode if you want.

Roostervier
February 6th, 2009, 06:23 PM
Change your playback settings in your profile, assuming you have one on youtube.
Oh, thanks. Didn't know you could do that.

ExAm
February 7th, 2009, 05:05 PM
*throws open saloon doors and walks in. Looks around, then spits*

Alright chill out, I got this.

Let's do this with the HD transformers 2 trailer.
Okay, your typical youtube HD video player is 854x504 pixels. So, we take the HTML embed code:

<object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/Q_FDGJ-Z0zY&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Q_FDGJ-Z0zY&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object>

Copy the bold parts. Now, to make this work in bbcode, we start off with this: (spaces are just to keep it from parsing so i can show it to you)

[ swf=][/swf]

Paste the parts as such:

[ swf=http://www.youtube.com/v/Q_FDGJ-Z0zY&hl=en&fs=1]width="480" height="295"[/swf]

Now, I know what you're thinking. "But, that says 480x295-" SHUT UP I'M GETTING TO THAT :mad:

Okay so, remember that the youtube HD player is 854x504 pixels. Change that accordingly:

[ swf=http://www.youtube.com/v/Q_FDGJ-Z0zY&hl=en&fs=1]width="854" height="504"[/swf]

Now, to make sure this bastard is in HD, add this:
&ap=%2526fmt%3D22

[ swf=http://www.youtube.com/v/Q_FDGJ-Z0zY&hl=en&fs=1&ap=%2526fmt%3D22]width="854" height="504"[/swf]

Aaaand post:

width="854" height="504"

You may applaud.

Saggy
February 7th, 2009, 05:24 PM
Still doesn't auto-play in HD though :eyesroll:

Also, http://www.vbulletin.org/forum/showthread.php?t=201698

ExAm
February 7th, 2009, 11:27 PM
Still doesn't auto-play in HD though :eyesroll:

Also, http://www.vbulletin.org/forum/showthread.php?t=201698

Add this then:
[ swf=http://www.youtube.com/v/Q_FDGJ-Z0zY&hl=en&fs=1&ap=%2526fmt%3D22&autoplay=1]width="854" height="504"[/swf]

width="854" height="504"

:eng101:

Heathen
February 7th, 2009, 11:35 PM
Still doesn't auto-play in HD though :eyesroll:

Also, http://www.vbulletin.org/forum/showthread.php?t=201698
Uh, ya it does.

p0lar_bear
February 9th, 2009, 01:00 AM
Done. Thanks for the link, Saggy.