add video works good, but if no video is linked then the space where the video goes is still used but blank.
is this not designed to add the video field to the blog content type?

Comments

dsp1’s picture

Status: Active » Needs review

this fixed it for me.

function theme_video_cck_youtube_flash($embed, $width, $height) {
 if ($embed) {
  $output .= "<object height=\"$height\" width=\"$width\"><param name=\"movie\" value=\"http://www.youtube.com/v/$embed\"><param name=\"wmode\" value=\"transparent\"><embed src=\"http://www.youtube.com/v/$embed\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" height=\"$height\" width=\"$width\"></object>";
 } else { $output = ""; }
 
 return $output;
}
aaron’s picture

Assigned: Unassigned » aaron
Status: Needs review » Fixed

thanks dsp1, i actually fixed this a bit ago, but forgot to commit it.

Anonymous’s picture

Status: Fixed » Closed (fixed)