Got the Video module to work - love it. Except, I'm using QuickTime movies (I'm a video editor and I need to upload .mov files for client approval), and I noticed that the height of the window for the movie is not tall enough for the whole QuickTime controller below the movie to show. I'm uploading 640x480 H.264 files.

Oddly enough it shows exactly half of the controller. How can I add another 8 or 10 pixels to the height of the window so the whole controller will show?

Screenshot enclosed.

Thanks!

CommentFileSizeAuthor
screenshot.png16.56 KBtrgreen17

Comments

trgreen17’s picture

I found the following code (that's supposed to increase the height for the player controls) in common.inc at line 252:

function theme_video_play_quicktime($element) {
//Increase the height to accommodate the player controls on the bottom.
$video = file_create_url($element['#item']['filepath']);
$width = isset($element['#item']['data']['width']) ? $element['#item']['data']['width'] : '';
$height = isset($element['#item']['data']['height']) ? $element['#item']['data']['height'] : '';
$width = empty($width) ? '350px' : $width .'px';
$height = empty($height) ? '285px' : $height .'px';

But it doesn't seem to be working for me. I'm using Acquia Marina as my theme. Could this be the issue?

Any ideas how I can just add 16px to the height? I did it in Firebug and it looks great. I just need to put it in the code somewhere. Again, I'm a video editor, not a programmer, so any help would be greatly appreciated!

hypertext200’s picture

When you create video node, http://video.heidisoft.com/content/create-video-content-type go to video player settings and set a higher ratio there WIDTH:HEIGHT

Donate to Video Module
http://video.heidisoft.com/

hypertext200’s picture

Status: Active » Closed (fixed)
trgreen17’s picture

Status: Closed (fixed) » Needs review

Respectfully, I don't understand this. Are you saying that I should go into the content type and change the player to a ratio other than 4:3 or 16:9? And if so, wouldn't it be a lower (not higher) ratio of width to height to get the controller to show up?

I went in there and tried a ratio of 3.9:3 and it gave me an error. Does this mean it has to be an integer ratio? If so, there's no way to get just the 16 additional pixels to show up in the height. I also tried 640:496 (the correct ratio), and it wouldn't allow me to input that many characters.

Forgive me if I'm just confused, but this seems like a very difficult way to compensate for the controller. Why can't the code just add 16 pixels to the height once the width and height calculations are done? Is there any way I can do that?

Great module otherwise, and thanks for all your hard work.

trgreen17’s picture

Status: Needs review » Closed (fixed)

Okay, I found that a ratio of 80:62 works perfectly. It is the same as halving 640:496 three times, and it had to be two digit numbers because of the field limitations.

Thanks for helping me figure this out.

hypertext200’s picture

It wil only support for standard video size rations like 4:3, 16:9 you can just try by adding 16:10 like wise

hypertext200’s picture

Status: Closed (fixed) » Active

@trgreen23, If you guys wants to have height value then it can be added.

xmacinfo’s picture

Look at the videofield module. Looks like it's a replication of this module... and it have the height.

If you add the height it will be welcome since your module offers more feature. :-)

iLLin’s picture

Status: Active » Fixed

I have changed this to WxH settings in the 4.x-dev version. You can create your own pre-defined settings now.

Status: Fixed » Closed (fixed)

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

kristy2848’s picture

I have used this code but that doesn't help me out. There is no effect in my player. Can you please provide some other code for this purpose. I really need it..@@

__________________________
Watch Movies Online