browser widget mp4 issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 58
- Joined: Sat Jun 15, 2019 10:09 am
browser widget mp4 issue
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.
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
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.
-
- Posts: 58
- Joined: Sat Jun 15, 2019 10:09 am
Re: browser widget mp4 issue
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
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
-
- Posts: 58
- Joined: Sat Jun 15, 2019 10:09 am
Re: browser widget mp4 issue
Just to add to the previous post-
Are there any other formats that I could use - eg .flv .swf .mov .mkv
Kind regards
Paul
Are there any other formats that I could use - eg .flv .swf .mov .mkv
Kind regards
Paul
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: browser widget mp4 issue
Here's a list:
https://developer.android.com/guide/top ... a-formats
https://developer.android.com/guide/top ... a-formats
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 58
- Joined: Sat Jun 15, 2019 10:09 am
Re: browser widget mp4 issue
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
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