Index: video_cck.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/video_cck/video_cck.module,v retrieving revision 1.15 diff -u -r1.15 video_cck.module --- video_cck.module 20 Apr 2007 17:52:14 -0000 1.15 +++ video_cck.module 10 May 2007 15:13:03 -0000 @@ -200,6 +200,14 @@ 'label' => t('Image Thumbnail'), 'field types' => $types, ), + 'video_width' => array( + 'label' => t('Width'), + 'field types' => $types, + ), + 'video_height' => array( + 'label' => t('Height'), + 'field types' => $types, + ), ); return $formats; } @@ -230,6 +238,12 @@ case 'video_preview': $output .= theme('video_cck_preview', $field, $item, $formatter, $node); break; + case 'video_width': + $output .= $field['widget']['video_width']; + break; + case 'video_height': + $output .= $field['widget']['video_height']; + break; case 'video_video': case 'default': default: