No matter what settings are used in Video admin, Video Field Settings, or widget settings on node submit, video conversion does not take place. No record ever is displayed in the {video_files} table.

CommentFileSizeAuthor
#1 video.module-852236-1.patch898 bytestravismiller

Comments

travismiller’s picture

Status: Active » Needs review
StatusFileSize
new898 bytes

$field is not defined in video_widget_process function. $field['widget']['autoconversion'] condition never succeeds so video_convert_process is never triggered.

function video_widget_process($element, &$form_state) {
  $item = $element['#value'];
  $field = content_fields($element['#field_name'], $element['#type_name']);  // added this line
  switch($form_state['clicked_button']['#submit'][0]) {
    case 'node_form_submit':
    // Auto convert our video file
      if($field['widget']['autoconversion']) {
        video_convert_process($element);
hypertext200’s picture

Status: Needs review » Patch (to be ported)

Adding to the dev

hypertext200’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.