Closed (fixed)
Project:
Video
Version:
6.x-4.1-rc6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 18:45 UTC
Updated:
18 Dec 2010 at 06:00 UTC
I'm using 6.x-4.1-rc6 with flowplayer module. Selecting the video player size based on the video size doesn't work right because the size you select is used for the whole flowplayer object and doesn't take into consideration the extra 24 pixels that flowplayer needs to display its controls.
I initially starting making extra resolutions available but found it annoying. IMHO, we should select the size that the video should play at and let the code figure out the correct size of the player object.
So, I modified video_formatter.inc to take that into consideration. Patch included.
| Comment | File | Size | Author |
|---|---|---|---|
| video_formatter.patch | 489 bytes | bkat |
Comments
Comment #1
parasox commentedApplied this patch and it works well, I was wondering why my video had black bars on the sides even though I set it to encode and set the player at the same size.
Now I have very very thin black bars at the top and bottom. Are your videos playing perfectly flush with the player bkat?
Another great patch, thanks!
Comment #2
hypertext200added to the dev
Comment #3
bkat commentedI just updated to video-6.x-4.2-alpha2.tar.gz and noticed a bug with the code that was checked in.
should be
+ and . have the same precedence in php so omitting the parens causes the expression to group left to right as
(A.B.C.D)+(E.F) and not A.B.C.(D+E).F
Comment #4
hypertext200Added to dev