Re: [codenameone-discussions] MediaPlayer on ios

2019-03-29 Thread Shai Almog
Just set the UIID value to a white background on the media UIID. You can find that via component inspector. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-29 Thread Gareth Murfin
Though one thing ive noticed is that behind the video (presumably where it doesnt fit due to ratio or whatever) there is a black background, I need this to be white, is there any way? On Friday, March 29, 2019 at 5:57:48 PM UTC+8, Gareth Murfin wrote: > > Sorry!! turns out somehow my prepare

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-29 Thread Gareth Murfin
Sorry!! turns out somehow my prepare line was commented out! It does work perfectly. Thanks. Also setting it to invisible just before transition stops the jerk.. awesome! now if only i could fix my status bar on ios On Friday, March 29, 2019 at 5:20:13 PM UTC+8, Gareth Murfin wrote: > >

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-29 Thread Gareth Murfin
Thanks, so you're saying I should remove it or set it invisible before transitioning to new screen? Also the "prepare" call doesnt stop the video player being black, the controls dont appear either, so instead of a video I just see a black box, this works fine on emulators and android. On

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-28 Thread Steve Hannah
This is likely because during a form transition, it needs to perform a lightweight rendering of the outgoing form. For native peers, this can cause some jitter like you're describing. On Thu, Mar 28, 2019 at 9:40 AM Gareth Murfin wrote: > Ive noticed when I leave a screen with the media player

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-28 Thread Gareth Murfin
Ive noticed when I leave a screen with the media player on it briefly flashes black, is there some way to stop this? like do I need to release it before I swap forms or something? On Monday, March 11, 2019 at 7:17:59 PM UTC+8, Gareth Murfin wrote: > > thanks steve, will give it a go... reminds

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-11 Thread Gareth Murfin
thanks steve, will give it a go... reminds me of j2me days :) On Friday, March 8, 2019 at 10:02:44 PM UTC+8, Steve Hannah wrote: > > Actually, upon closer inspection, I see why this is. On iOS, it doesn't > "prepare" the media automatically because the act of preparing media might > disrupt

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-08 Thread Steve Hannah
Actually, upon closer inspection, I see why this is. On iOS, it doesn't "prepare" the media automatically because the act of preparing media might disrupt other active media in the App. You need to call the prepare() method on the media if you want the frame and embedded controls to appear.

Re: [codenameone-discussions] MediaPlayer on ios

2019-03-08 Thread Steve Hannah
There appears to be an issue there. If you enable autoplay, this should work around it for now. There will be a fix soon. On Fri, Mar 8, 2019 at 12:08 AM Gareth Murfin wrote: > on ios my mediaplayer is just black, no controls or frames.. works fine on > android/simulator - any ideas? > > -- >

[codenameone-discussions] MediaPlayer on ios

2019-03-08 Thread Gareth Murfin
on ios my mediaplayer is just black, no controls or frames.. works fine on android/simulator - any ideas? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an