|
Replies:
2
-
Last Post:
Aug 21, 2008 1:49 AM
by: kawaiimomo
|
|
|
|
|
|
|
MediaComponent methods vs media Player methods
Posted:
Aug 20, 2008 5:04 AM
|
|
|
Hi all there,
I noticed a slightly different behaviour with latest drop when I go to a Form with a fade transition-in and a MediaComponent (player for capture).
In previous drops I achieved better looking result by calling Player.start() and Player.stop() instead of calling the same methods in MediaComponent. Also I use the setVisible() method in VideoControl to hide the player. Is this a good approach? It's better to deal directly with the player or with the MediaComponent?
Thanks a lot
|
|
|
|
|
|
|
Re: MediaComponent methods vs media Player methods
Posted:
Aug 20, 2008 8:33 AM
in response to: kawaiimomo
|
|
|
Hi,
lwuit-users@mobileandembedded.org wrote: > Hi all there, > > I noticed a slightly different behaviour with latest drop when I go to a Form with a fade transition-in and a MediaComponent (player for capture). > > In previous drops I achieved better looking result by calling Player.start() and Player.stop() i Can you describe what was better?
> nstead of calling the same methods in MediaComponent. Also I use the setVisible() method in VideoControl to hide the player. Is this a good approach? It's better to deal directly with the player or with the MediaComponent? > I don't see an issue if you call directly to the VideoControl, make sure you don't set the bounds from the VideoControl since the component should be responsible for the location, size of the video.
Regards, Chen
> Thanks a lot > [Message sent by forum member 'kawaiimomo' (kawaiimomo)] > > http://forums.java.net/jive/thread.jspa?messageID=294347 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net > For additional commands, e-mail: users-help@lwuit.dev.java.net > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net For additional commands, e-mail: users-help@lwuit.dev.java.net
|
|
|
|
|
|
|
|
Re: MediaComponent methods vs media Player methods
Posted:
Aug 21, 2008 1:49 AM
in response to: chen
|
|
|
Thanks for the reply.
And thanks for the good work, and for the source!
|
|
|
|
|