Closed (fixed)
Project:
Video
Version:
6.x-2.8
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2009 at 17:25 UTC
Updated:
7 Aug 2010 at 01:00 UTC
I am not able to set the resolution of my videos. If I set the resolution to one of the presets (16:9 Widescreen) it changes back to "manually set" after saving the video (type Upload mp4). Also entering values in Width and Height are ignored and reset to 0. Videos are shown always with 400x316.
I tried leaving the Default Width field blank in Administer/Site Configuration/Video/Video resolution and alternatively setting a value without success.
What is wrong?
Comments
Comment #1
Murando commentedComment #2
szato commentedHi!
This is because "video_submit is never called" --> http://drupal.org/node/654514. My solution is:
create a module and use hook_nodeapi to call video_submit, video_update functions.
PS: hook_submit is D5 hook
video_bugfix.info
; $Id$
name = Video Bugfix
description = Video module v 6.x-2.8. update BUGfix
core = 6.x
dependencies[] = video
video_bugfix.module:
function video_bugfix_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
if ($node->type == 'video' && ($op == 'update' || $op == 'insert')) {
video_submit($node);//setting video fields
video_update($node);//update video
}
}
Comment #3
hypertext200