This is a migrated thread and some comments may be shown as answers.

html5 video work on simulator but not on my device

3 Answers 165 Views
Android Devices
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Derek
Top achievements
Rank 1
Derek asked on 12 Aug 2013, 04:01 AM
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!

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 Aug 2013, 11:36 AM
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.

Regards,
Steve
Telerik

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.
0
Geovanni
Top achievements
Rank 1
answered on 08 Aug 2014, 04:49 AM
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' />
</video>

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?
0
Tina Stancheva
Telerik team
answered on 11 Aug 2014, 03:03 PM
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.

Regards,
Tina Stancheva
Telerik
 

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

 
Tags
Android Devices
Asked by
Derek
Top achievements
Rank 1
Answers by
Steve
Telerik team
Geovanni
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or