browser widget mp4 issue

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulalsmith1000
Posts: 58
Joined: Sat Jun 15, 2019 10:09 am

browser widget mp4 issue

Post by paulalsmith1000 » Wed Mar 30, 2022 6:02 pm

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.

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 262
Joined: Mon May 18, 2009 4:12 am

Re: browser widget mp4 issue

Post by wsamples » Wed Mar 30, 2022 10:16 pm

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.

paulalsmith1000
Posts: 58
Joined: Sat Jun 15, 2019 10:09 am

Re: browser widget mp4 issue

Post by paulalsmith1000 » Sun Apr 10, 2022 2:01 pm

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

paulalsmith1000
Posts: 58
Joined: Sat Jun 15, 2019 10:09 am

Re: browser widget mp4 issue

Post by paulalsmith1000 » Sun Apr 10, 2022 2:09 pm

Just to add to the previous post-

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

Kind regards

Paul

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7215
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: browser widget mp4 issue

Post by jacque » Sun Apr 10, 2022 5:16 pm

Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

paulalsmith1000
Posts: 58
Joined: Sat Jun 15, 2019 10:09 am

Re: browser widget mp4 issue

Post by paulalsmith1000 » Tue Apr 12, 2022 5:00 pm

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

Post Reply

Return to “Android Deployment”