Page 1 of 2

MP4 playback on android devices

Posted: Wed Feb 19, 2014 10:53 am
by neogucky

I have an App which saves some data (images, videos) as Base64 in the localStorage. Later is loads the data and shows / plays it on the device via the ImageCarousel / Video component.

This works fine when testing it in my browser, on an android device I only see a small play button and nothing else of the video. Clicking that button seems to have no effect. The video in question has the mimetype video/mp4.

Is this an Android problem? (I found some topics regarding buggy video playback in html on android devices) If yes, is there an alternative to playback my video on iOS AND android devices?

I appreciate every help I can get!


MP4 playback on android devices

Posted: Wed Feb 19, 2014 11:52 am
by Kateryna Grynko

Hello,

Did you try YouTube video or it doesn't suit you?


MP4 playback on android devices

Posted: Wed Feb 19, 2014 1:16 pm
by Kateryna Grynko

MP4 playback on android devices

Posted: Wed Feb 19, 2014 3:52 pm
by Kateryna Grynko

https://github.com/phonegap/build/iss... - this seems to be the issue.


MP4 playback on android devices

Posted: Mon Feb 24, 2014 12:29 pm
by neogucky
  1. The youtube player seems to be for youtube videos.
    1. I will try the phonegap video player, but I'm not quite sure whether the problem is there, since I was able to play another mp4 video in another appery project before.
    2. I don't think that is the issue here, since this bug is solved for some time. (At least in phonegap)

MP4 playback on android devices

Posted: Tue Feb 25, 2014 8:43 am
by Maryna Brodina

Hello! Did you get it working?


MP4 playback on android devices

Posted: Tue Feb 25, 2014 10:55 am
by neogucky

Hello Maryna,

sadly not. The plugin required me to add a java file to the project. Manipulating the project after exporting it from appery.io is my last resort.


MP4 playback on android devices

Posted: Tue Feb 25, 2014 1:42 pm
by Maryna Brodina

Could you clarify what is the exact problem you have when adding files on Source tab?


MP4 playback on android devices

Posted: Wed Feb 26, 2014 9:14 pm
by Kateryna Grynko

Hi,

You can try this plug-in:
https://github.com/jaeger25/Html5Vide...


MP4 playback on android devices

Posted: Thu Feb 27, 2014 12:25 pm
by neogucky

I made some process in including the plugin. Sadly this seems to be an "experimental" feature in appery.io. After editing one of my views in the WEB_RESOURCES folder it turned blue and won't update according to the appery.io view. Is there a way to restore the file to be dynamically?