Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

Talk about the NLSC Podcast, Monday Tip-Off, Wayback Wednesday, The Friday Five, Top 10 Plays of the Week, and our Parsec Tournaments! This is also a section for NLSC and community announcements, and other site-related topics.
Post a reply

How to embed HD Youtube Videos

Sun Dec 28, 2008 12:39 am

Take the video ID from the URL, the part after the v=
Code:
http://www.youtube.com/watch?v=Op0fiTh-y1g


Insert it between the / and & symbols
Code:
[flash=720,405]http://www.youtube.com/v/________&hd=1[/flash]


Like this
Code:
[flash=720,405]http://www.youtube.com/v/Op0fiTh-y1g&hd=1[/flash]


Ta da
Flash

Re: How to embed HD Youtube Videos

Sun Dec 28, 2008 5:54 pm

Awesome, nice work. (Y)

Re: How to embed HD Youtube Videos

Sun Mar 01, 2009 2:33 am

Thx man I love HD!

Re: How to embed HD Youtube Videos

Tue Mar 03, 2009 12:40 am

Just an update. I had to add &ap=%2526fmt%3D18 to a video to get it to play otherwise it gave me the "video is no longer available" message. It may because it was not available in such a high resolution.

Re: How to embed HD Youtube Videos

Tue Mar 03, 2009 1:21 am

It's actually the end of that "fmt=18", which is the designator to automatically display in "high quality." I believe "22" is the HD designator.

Embedding may not work properly if, as you said, the video does not possess HD. 18 seems to be "high quality, if not, standard", the HD designator is completely different as you can see when on the youtube site and it displays the larger video frame instead of the standard one.

Some videos have HD, high quality and standard. Some have just HD and standard. Some have just high and standard. YouTube really needs to work on this so it sends the proper stream. (And another thing! It never saves my settings and shows the best quality. I have to set it back every so often. GET ON THE BALL.)

Re: How to embed HD Youtube Videos

Tue Mar 03, 2009 1:56 am

This is what I found, but I am not sure how accurate it is.
    &fmt=6 - increases the resolution from 320×240 to 448×336, Flash 7 video @ 900Kbps; audio @ 44.1KHz 96Kbps Mono CBR.
    &fmt=18 - increases the resolution to 480×360, H.264 video @ 512Kbps; audio @ 44.1KHz 128Kbps Stereo.
    &fmt=22 - increases the resolution to 1280×720 (720p), H.264 video @ 1024Kbps; audio @ 44.1KHz 232Kbps Stereo.


http://www.reelseo.com/youtube-hd-update/

Re: How to embed HD Youtube Videos

Tue Mar 03, 2009 2:12 am

Yeah, that would fit with what I said. 18 is high quality (H.264 container), 22 is the bigger size (720p).

Re: How to embed HD Youtube Videos

Wed Dec 15, 2010 9:44 pm

Looks like the 22 now works automatically to increase the quality if you have the frame set right.

For reference you just need for 480p or the size of the box itself on YouTube:
Code:
[flash=854,480]http://www.youtube.com/v/jbkSRLYSojo&fmt=22[/flash]

For 720p:
Code:
[flash=1280,720]http://www.youtube.com/v/dlXy7mKX1Iw&fmt=22[/flash]


Just grab the URL: http://www.youtube.com/watch?v=4F9qo0tnh3c (or the code at the end to paste into an existing form.)
and delete "watch?" and then replace the = with a / and stick the &fmt=22 on the end.

Just change the x/y parameters for the highest resolution the video offers or if you want to save screen width for people. It will default down to that size.

Re: How to embed HD Youtube Videos

Wed Dec 15, 2010 11:04 pm

Good to know, thanks. (Y)

Re: How to embed HD Youtube Videos

Thu Dec 16, 2010 12:44 am

But, for some reason the fullscreen option doesn't work for me when people embed like that.

Re: How to embed HD Youtube Videos

Thu Dec 16, 2010 12:47 am

The other embeds never did for me. I right click -> open them on youtube anyway though.

Re: How to embed HD Youtube Videos

Thu Dec 16, 2010 1:27 am

I do that too. On my phone, I can open view embedded with the video tag in the YouTube app which plays smoothly while it is happy in the browser. Not with the flash embedded HD ones, though.

Re: How to embed HD Youtube Videos

Thu Dec 16, 2010 2:03 am

good to see all that junk at the end of the URL isnt needed anymore either.....and fuck I did this back in 2008?
Post a reply