Shrink to fit (RFQ)

4 views
Skip to first unread message

delp

unread,
Aug 11, 2010, 9:03:37 AM8/11/10
to reops
Hi, not sure if this is the best place to put in requests for change
with the OSMF code. If not point me in that direction :-)

I required a scale mode not currently in the OSMF. I require a video
to be as big as the video container, providing that the container
isn't bigger than the video. So its ok to shrink the video, but not
to enlarge it, at the same time the aspect ratio should be
maintained. It would also be handy to then be able to get whatever
ratio was used to scale the video.

I've already done this myself, but it would be a good addition to the
OSMF.

Thanks.

turbidity

unread,
Aug 11, 2010, 11:31:41 AM8/11/10
to reops
Hello,

The OSMF forum is here: http://forums.adobe.com/community/opensource/osmf/.
They're pretty good and responding to things. It sounds like the
letterbox scale mode does almost everything you need, except
preventing the enlargement of the video.

Nils

delp

unread,
Aug 12, 2010, 3:45:21 AM8/12/10
to reops
Thanks I shall add the request there. Yeah the letterbox mode was
close to what I want, but not quiet. Also need to know the ratio at
which their has been any scling if any.

Cheers.

Danny

unread,
Aug 12, 2010, 9:26:13 AM8/12/10
to reops
Sizing of the player is a pretty common need. I don't think RealEyes
or OSMF could predict and implement every variation but what would be
nice is to have a "custom" mode where the sizing, scaling and aspect
ratio are exposed through setters and getters. In my case, I
implement dynamic sizing from dragging gestures on my (custom)
container.

I do find that there is quite a bit of coupling between the control
bar, the media player and the media container which makes it more
complex to directly control sizing. It is the old tradeoff between not
enough control in framework (ie less work but can't do exactly what
you want), and too much control (can do what you want but too much
effort required). But I've spent more time than I wanted to digging
through the code to figure out those linkages. OT-One thing I'm doing
is swapping in the google/Youtube chromeless player where the user
wants to play a youtube video while maintaining the consistent control
bar from the reops player and that coupling has made it very
difficult. Sizing is the least of my worries ;-)
> > > Thanks.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages