Closed (won't fix)
Project:
Video Upload
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2008 at 01:05 UTC
Updated:
5 Jun 2009 at 01:26 UTC
There is a hack which can made low-quality YouTube videos to be shown as High Quality (append '&fmt=6' at the end of URL) [assuming the source is HQ]
So where do I need to hack-in to appehend the display URL with ?
ref: http://www.hackszine.com/blog/archive/2008/03/view_youtube_in_highres.html
I will be uploading HD videos to Youtube, so this will be very useful.
Thanks
Comments
Comment #1
jhedstromThe url for displaying the video is output via the default theme function, so you could write a custom theme function to attach the HD parameter:
function phptemplate_video_upload_video($yt_id, $width = '425', $height = '355', $field = array(), $params = array(), $attributes = array()) {
...
}
Comment #2
jhedstromThe youtube API has changed quite a lot since this request (fmt is no longer supported). If HD is available, that is included in the latest youtube player embeds.