Page 1 of 1

browser widget mp4 issue

Posted: Wed Mar 30, 2022 6:02 pm
by paulalsmith1000
Dear All

I imagine you will need more information, but could someone possibly tell me if there are any know issues using the browser widget on android to play mp4 files?

My app is super basic, the main page just has a large browser object that points to a node red dashboard.

On the dashboard there is a page that plays various mp4 files when selected.

If I look at this page from the google browser app on my phone (android9) it works fine - you click the link, the video starts playing.

However, if look at this through the browser object in the livecode app there is just a grey square and when I click on the link, a lighter grey 'play' symbol flashes up for a second and then disappears.

Any guidance whatsoever, would be much appreciated.

Kind regards

Paul

P.S. - I wondered whether I should use the mobileControlCreate "browser" instead of the widget, but I'm not sure of the difference.

Re: browser widget mp4 issue

Posted: Wed Mar 30, 2022 10:16 pm
by wsamples
The browser widget is compiled without h264 support due to licensing issues. There has been some discussion of this in the past. You'll have to provide alternative webm files using vp8 or vp9 codec.

Re: browser widget mp4 issue

Posted: Sun Apr 10, 2022 2:01 pm
by paulalsmith1000
Hi wsamples

Thanks v much for your reply.

I did try this though and it doesn't appear to work. I used ffmpeg to convert one file to webm using vp9 to test it, but essentially the same thing happens.

Kind regards

Paul

Re: browser widget mp4 issue

Posted: Sun Apr 10, 2022 2:09 pm
by paulalsmith1000
Just to add to the previous post-

Are there any other formats that I could use - eg .flv .swf .mov .mkv

Kind regards

Paul

Re: browser widget mp4 issue

Posted: Sun Apr 10, 2022 5:16 pm
by jacque

Re: browser widget mp4 issue

Posted: Tue Apr 12, 2022 5:00 pm
by paulalsmith1000
Hi there

In case its helpful to anyone else, I found a solution.

Livecode 10 (dp3) has all the codecs / licenses / etc....

So provided you select 'hardware acceleration' in the standalone settings section it will play mp4 files happily.

Kind regards

Paul