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: > > 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 Friday, March 29, 2019 at 12:45:22 AM UTC+8, Steve Hannah wrote: >> >> 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 <[email protected]> >> wrote: >> >>> 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 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 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. >>>>> >>>>> >>>>> >>>>> On Fri, Mar 8, 2019 at 5:40 AM Steve Hannah <[email protected]> >>>>> wrote: >>>>> >>>>>> 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 <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> 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 email to >>>>>>> [email protected]. >>>>>>> Visit this group at >>>>>>> https://groups.google.com/group/codenameone-discussions. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/codenameone-discussions/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/a249f5f1-8b53-4767-93d2-391fecd1a4f4%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Steve Hannah >>>>>> Software Developer >>>>>> Codename One >>>>>> http://www.codenameone.com >>>>>> >>>>> >>>>> >>>>> -- >>>>> Steve Hannah >>>>> Software Developer >>>>> Codename One >>>>> http://www.codenameone.com >>>>> >>>> -- >>> 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 email to [email protected]. >>> Visit this group at >>> https://groups.google.com/group/codenameone-discussions. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/codenameone-discussions/29453d77-37f1-4add-8526-50600cf1c48a%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/codenameone-discussions/29453d77-37f1-4add-8526-50600cf1c48a%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> Steve Hannah >> Software Developer >> Codename One >> http://www.codenameone.com >> > -- 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 email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/cd3b0ca0-75a0-4583-b33a-9b462cc8e794%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
