[
http://opencast.jira.com/browse/MH-7331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27665#comment-27665
]
Sebastian Ewert edited comment on MH-7331 at 8/3/11 1:48 PM:
-------------------------------------------------------------
The biggest embed width is set to 620, no matter what the original video was. I
don't know if the original video size is available in this context. If I resize
my browser at watch.html the video crows bigger than the original was, too. I
think the idea behind these embed buttons was just to give the user a fast way
to get XL,L,M... embed player.
The control bar height overhead is 100px, I think only 70px are needed.
no ratio problems:
1280x720 leads to embed 620x449 - overhead => 620/349 =~ 1280/720
4:3 smallest embed is 300x325 - overhead => 300/225 =~ 4/3
>From Olaf:
PS: 640x580 means 100 pixels added, 320 gives me 340 - only 20 pixels added?
Above 800, the added vertical pixels are >100, that doesn't make sense as the
control bar doesn't get bigger and bigger, does it?
=> 640x480 was original size to 800xX => 640/480 = 1.333 => 800/1.333 = 600 =>
embed size is 700 (height overhead)
=> 640x480 to 320xX => 320/1.333 = 240 => embed size is 340 (height overhead)
The calculation does not respect the original video size at all.
By the way we lost the ability to write an embed hight and then calculate the
width (1.2.x).
was (Author: sewert):
The biggest embed width is set to 620, no matter what the original video
was. I don't know if the original video size is available in this context. If I
resize my browser at watch.html the video crows bigger than the original was,
too. I think the idea behind these embed buttons was just to give the user a
fast way to get XL,L,M... embed player.
The control bar height overhead is 100px, I think only 70px are needed.
ratio problems:
1280x720 leads to embed 620x449 - overhead => 620/349 =~ 1280/720
4:3 smallest embed is 300x325 - overhead => 300/225 =~ 4/3
>From Olaf:
PS: 640x580 means 100 pixels added, 320 gives me 340 - only 20 pixels added?
Above 800, the added vertical pixels are >100, that doesn't make sense as the
control bar doesn't get bigger and bigger, does it?
=> 640x480 was original size to 800xX => 640/480 = 1.333 => 800/1.333 = 600 =>
embed size is 700 (height overhead)
=> 640x480 to 320xX => 320/1.333 = 240 => embed size is 340 (height overhead)
The calculation does not respect the original video size at all.
By the way we lost the ability to write an embed hight and then calculate the
width (1.2.x).
> Embed Player code gives wrong/strange ratio figures
> ---------------------------------------------------
>
> Key: MH-7331
> URL: http://opencast.jira.com/browse/MH-7331
> Project: Matterhorn Project
> Issue Type: Bug
> Components: encoding, Engage Tools
> Affects Versions: 1.1
> Reporter: Olaf A. Schulte
> Assignee: Sebastian Ewert
> Fix For: 1.2
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________