When using URL videos, the scaled sizes are not known, causing the video module to force them to the default size - typically 400x300. This can cause a distorted appearance, or hidden controls. But, with a slight change, we can ensure that the video appears correctly, even while fitting into the default box:

Basically, all you have to do is change the scale setting from "scaletofit" to "aspect":

diff -rwud video.JAN09/includes/common.inc /home/heinztru/www/modules/video/includes/common.inc
--- video.JAN09/includes/common.inc 2008-03-05 10:23:38.000000000 -0600
+++ /home/heinztru/www/modules/video/includes/common.inc 2009-01-13 10:53:49.000000000 -0600
@@ -232,12 +232,12 @@
// this will be executed by not Internet Explorer browsers
$output = '

video_scaled_x .'" height="'. $height .'" -data="'. $url .'"> +data="'. $url .'" scale="aspect"> ' . "\n"; // this will be executed by Internet Explorer $output .= ' -video_scaled_x .'" height="'. $height .'" scale="tofit" > +video_scaled_x .'" height="'. $height .'" scale="aspect" > ' . "\n"; // params will be passed to both IE or not IE browsers

Comments

hypertext200’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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