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...
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...
Last edited by Trinx; February 5th, 2009 at 09:05 PM.
Coldplay is really atheist rock because if there was a God he wouldn't have allowed it
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.
*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
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:
You may applaud.
Still doesn't auto-play in HD though
Also, http://www.vbulletin.org/forum/showthread.php?t=201698
Last edited by Saggy; February 7th, 2009 at 04:27 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks