6 Replies Latest reply on Jul 14, 2016 8:29 AM by VectorP

    Video won't play in Android 4.2.4 or 4.4.4

    StartGuides Level 1

      First, a caveat. I am not a developer. I'm using Adobe InDesign to export HTML, adding icons and config.xml and packaging for PhoneGap build to compile to APK for me. So far, I've been successful creating apps for customers that have simple functionality. I now need to add video. When I add an .mp4 to the layout, export and compile with PhoneGap build using the above process, the video functions as it should in Lollipop 5.0.1, but it doesn't in Jelly Bean 4.2.4 or KitKat 4.4.4. I need it to work in these versions for a customer that is locked into them and can't upgrade for reasons I won't go into.


      I've added lines to config.xml in hope of forcing compatibility, but it doesn't help. I added:


      <preference name="android-targetSdkVersion" value="20" />
      <preference name="android-minSdkVersion" value="17" />
      <preference name="android-maxSdkVersion" value="20" />


      What else can I do to make this work in these earlier versions of Android?


      Thanks for any help. I can provide files if needed. I just created a simple two-screen test app, so there's nothing complicated about it.