html5 video work on simulator but not on my device

Thread is closed for posting
4 posts, 0 answers
  1. Derek
    Derek avatar
    1 posts
    Member since:
    Aug 2013

    Posted 11 Aug 2013 Link to this post

    I have used it to develop my own apps. i have added the html video as the background to my html page.

    It works on the simulator. However, when i preview or output .apk file and install to my device. i cant see the

    video background on my device, whats happening to my simulator or my device. And what should i do ?

    Please help!
  2. Steve
    Steve avatar
    10941 posts

    Posted 12 Aug 2013 Link to this post

    Hi Derek,

    A quick look at your project shows that you're using 3rd party jquery plugins for this purpose and not the HTML 5 <audio>/<video> tags. While those plugins might work in a regular browser, the Android WebView is quite different and limited, so there is no guarantee those would work at all. You can test the HTML 5 audio/video support (not supported on all OS) and also take a look at the Cordova Capture and Media API and see if those can work for you.


    Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Geovanni
    Geovanni avatar
    12 posts
    Member since:
    Apr 2013

    Posted 07 Aug 2014 Link to this post

    Embedded local video file not playing on Android in release build but fine in debug build when using AppBuilder (Windows Client).

    <video id="video" width="320" height="240"  controls>
      <source src="video.mp4" type='video/mp4' />

    This works good for both build types in iOS and Android. EXCEPT when I do an Android release build. When I click the video nothing happens. 
    Is there something special in getting local video to play on Android in release mode?
  4. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 11 Aug 2014 Link to this post

    Hello Geovanni,

    I posted a reply in this forum thread and I hope the information will help you move forward with your project. Please let us know if we can further assist you.

    Tina Stancheva

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top