Videos not working on iOS

43 views
Skip to first unread message

Carlos Verdier

unread,
Dec 19, 2019, 10:39:28 AM12/19/19
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
Device: iOS 13.3

Today I updated my iPad and now all videos are failing. Only happens on this iOS version, even my live apps stopped working properly after the update.

This code does not work on iOS 13.3 now (tested on several devices):

        Form hi = new Form("Player", new BorderLayout());
       
try {
           
Media m = MediaManager.createMedia("http://videos.yourappeasy.com/MURALTO.mp4", true);
           
MediaPlayer p = new MediaPlayer(m);
            p
.setAutoplay(true);
            hi
.add(CENTER, p);            
       
} catch (IOException io) {            
            hi
.add(CENTER, new Label("Error"));                        
       
}
        hi
.show();    
Enter code here...

Please, as you can see, this is critical.

Tahnk you for your help.


Shai Almog

unread,
Dec 19, 2019, 9:18:55 PM12/19/19
to CodenameOne Discussions
We're trying to reproduce/resolve this issue.

Carlos Verdier

unread,
Dec 20, 2019, 6:20:36 AM12/20/19
to CodenameOne Discussions
Ok, thank you. Please, let me know when you have something. Are you having trouble reproducing the issue?

Shai Almog

unread,
Dec 21, 2019, 12:07:27 AM12/21/19
to CodenameOne Discussions
This should be fixed in the build servers now.

Carlos Verdier

unread,
Dec 21, 2019, 4:43:58 AM12/21/19
to CodenameOne Discussions
Yes it's working now, but there is still an issue.

This does not work (it does on Android and Simulator):

p.setLoop(true);

Could you please take a look?

Thanks

Shai Almog

unread,
Dec 21, 2019, 9:06:10 PM12/21/19
to CodenameOne Discussions
Can you file an issue on that?
We'll have a look. Also be sure to specify an exact version of Android as this can impact things

Carlos Verdier

unread,
Dec 22, 2019, 6:01:36 AM12/22/19
to CodenameOne Discussions
Sorry, I meant that it works on Android and Simutalor and fails on iOS. I guess it's part of the issue you just fixed.

I'll file an issue anyway.
Reply all
Reply to author
Forward
0 new messages