1) I want to change default width/height when the node is published (for all uploaded videos) -since I am uploading Widescreen, and YT default is 4:3
from [width="425" height="344"]
to [width="530" height="323"]

2) I need to add a few characters at the end of the embed code - default-youtube-embed-URL++my_special_code

example: http://snipurl.com/youtubewidescreen

let me know which file i need to edit to make this happen? a crude hack is fine...
please help - thanks

Comments

jhedstrom’s picture

Regarding the width/height, that should be configurable via the field settings. For the custom url additions, no need for a crude hack, simply write an overriding theme function for the video display, eg:

function phptemplate_video_upload_video($yt_id, $width = '425', $height = '355', $field = array(), $params = array(), $attributes = array()) {
...
}

and set the url to whatever your app needs. Also, you can override the width height here, but this will override the configuration options from the field settings page.

jhedstrom’s picture

Status: Active » Closed (fixed)