Video playing on Android - android

I am working with an Android and PhoneGap application and am using the HTML5 video tag to play videos on my web page. When I play the video I get the audio output but the video is not visible. How can I play a HTML5 video on Android?

I've written about this issue a number of times. See my previous answer:
Playing video on AVD with phonegap
Also, I'm working on monkey patching the video tag on Android so hopefully we'll have something even better soon.

Related

Live Streaming Video On App Inventor

There is a live streaming video in one of my app which is from one of the websites http://shirdisaiholidays.com/live-dharsan-3/.
I used activity starter with URI as rtsp://cam.live-s.cdn.bitgravity.com/cdn-live2-b1/_definst_/cam/live/secure/feed022/playlist.m3u8?e=0&h=ba7f5c5f6bf8a02d29f909dfa8d0c075.
It worked for some time but now it has stopped altogether. Someone said I can use video player or player with the url as source which I have also used without any success. It shows an error 702. Other apps using the same live streaming are working fine.

Unable to play live video using HTML video tag

Wowza Media Server running Live Video Streaming.
When I view the live video using RTMP and HTTP streaming using wowza examples which has live video players I am able to view video for all.
I am also able to run mobile application using cordova(phonegap) for ios devices. I am using HTML video tag in cordova application and I am able to view live video on IPad simulator using HLS streaming but whenever I try to run the same application using android simulator I am not able to view video.
Can someone please let me know what player should be used to run the application in android devices so that I can be able to view the video for Android devices?
Online search has proved that android supports HTML video tag and it should be able to play the HLS stream but when I tried it does not support.
What video player to use for Android?
And which stream type to use for Android?
Thanks
I think this is the best Compatibility chart: http://www.projekktor.com/compatibility/

What is a universal video format(and video/audio streaming codification) for all Android Webview versions

I have a web-view in an application and i use html5 tag.
I have had all kinds of issues on different android devices(samsung, sony, etc) with different android versions. Some could not play .mp4 and only played .m4v extensions. Another old tablet could only play mp4.
On an Xperia I had a special case. The webview couldn't play the video in html and played it in another custom video view(although this didn't bother me at all).
I need the videos to autoplay as soon as i open the webview(and have managed to do it on those few videos that work), and i have end-video event handlers that have to fire at the right time.
If anyone knows what video format + video and audio codification to use in order to have compatibility with all webviews on android please
Android webview and HTML5 player that works with the video codecs that Android supports (.mp4 is best for progressive video as it has by far the widest support), and it also supports .flv with flash plugin.

Force non-flash Vimeo embed or disable Flash in a WebView?

First some details to help explain:
If you load a Vimeo link such as the following:
http://player.vimeo.com/video/40234826, or use their iframe embed code,
into a WebView, one of two things will happen.
If the device has the Adobe Flash Player app/plugin installed, it will display Vimeo's embedded player. Tapping play, plays the video inline as an embed.
If the device does not have the flash plugin, it will display an image with a play button. Tapping play, opens the Video in a system VideoView. (Because the button links to an mp4 file.)
Since Vimeo's embedded play can be a bit buggy on the vast variety of devices available, I have found that option 2, playing the Vimeo video in an Android media player is a much better experience.
Now the question is, how can I convince the WebView not to use Flash?
I have tried webview.getSettings().setPluginsEnabled(false); but it still loads the flash embed version. How can I trick Vimeo's player into thinking the device does not have flash installed?
Thanks
Update
After further investigating, it seems that setPluginState(PluginState.OFF) works pre honeycomb, but this doesn't work on Honeycomb and ICS.

Do Videos on the Web on Android Devices play inline or in an video app?

I want to find out wether Videos on Mobile Websites play inline or in a video application. If they play in an video application: are these applications device specific or is it always the same? Does someone have a link to the look of the controls so that I can build a photoshop preview on how my web video will look on Android?
EDIT
By inline, I mean that it does not play in an external app like it does on the iphone (opens quicktime player whenever you click a video on m.youtube.com) but that it just plays inside the browser.
HTML5 video tag supported on some androids see HTML5 <video> element on Android

Categories

Resources