http://docs.icenium.com/example-apps-and-code-snippets/code-snippets/utilities/video-player
Is there any recommendation on how I should add a video player to an application?
I'm trying to create something similar to the youtube application:
- Get a list of videos from a remove api
- Allow the user to choose a video
- Play tat video on an embedded player
- If orientation is landscape, switch to full screen
I believe html5 may be an option but I'm not sure if it will work properly on Android 2.3.
Any advice on that?
Thanks in advance;
6 Answers, 1 is accepted
Unfortunately the HTML 5 video tag is very poorly supported inside the WebView especially below Android version 4.0. For that reason a few plugins were created, but we still don't support them.
If you want, you can post a suggestion for a video plugin here. If your suggestion gathers enough votes it will be prioritized accordingly in our back log.
Kristian D. Dimitrov
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
You mean that I shouldn't bother trying the plugins because they will not work? In other words, that at this point Icenium should not be used to such application?
My information seems to be a little outdated. A colleague of mine found this blog post.
In Cordova 2.2.0 the support for video tag on Android devices has greatly improved.
Here is a link to the commit that fixed the problem.
I tested on 2.3.3, 4.0.3, 4.1.1 and 4.2.1 and video tag seems to behave well. Bare in mind that in order to work properly on Android 4 you must turn the "hardware acceleration" on.
It is good practice to test on targeted real devices.
Kristian D. Dimitrov
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
I'm developing a hybrid Android app for a client and video playback is a requirement. If I'm reading this thread correctly, Icenium does not currently support this or custom plugins for that matter. The plugin link you provided above will only work with PhoneGap. Correct?
I'm new to Icenium but am very impressed at how easy it is to use and how quickly I was able to create an installable app. Unfortunately video playback is a must.
Thank you for your interest in Icenium and your kind words!
You can use HTML5 video tag to playback video inside your application. The video tag had some quirks when used in Cordova application (especially on Android devices), but its support is much improved in newer versions of Cordova.
You can give it a try and see if it works for you.
Kristian D. Dimitrov
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.