I am novice to android. I am trying a application in which I try to open you-tube embed videos in web-view. But firstly , I try to open any youtube video from youtube site itself in browser of emulator then it fails to open video and showing Alert-dialogue with title Cannot play video and msg Sorry,this video cannot be played. Is there any requirement of settings in emulator. Anyone has idea.
Flash player works in android only after version 2.3... Better update your device version to 2.3 or later. Then you can play youtube videos in your emulator.
Related
I am using youtube api for android to display youtube videos in my app. Normal videos stream very well, but youtube live streaming videos get stuck after few minutes in certain hardwares. These live streaming videos even got stuck when played usiing youtube app within these devices, while were playing completely fine using chrome browser.
Once initialized, I use the following line to play any youtube video:
youTubePlayer.loadVideo(id);
My queries are the following ?
What streaming protocol does youtube use for live streaming within Android ? Is it different with chrome browser and youtube app ?
What can be done to enable my app with seamless youtube live streaming ?
P.S. All my devices I have tested use Android version 4.4+
I am developing a Android app that plays advertising videos. All the videos are in WMV format and I tested it in Android 4.2 and it worked great. The client tried to execute the app it in a 4.1 device and it didn't work. It only says "Can't play this video" and crashes. We tried to play a WMV video with the native Video player in the 4.1 device and it played as expected. Why, in the same device, the VideoView can't play a video that the native Video player can? I also tried with another 4.1 device and a 4.1 emulator and I got the same problem.
Hi the WMV is not supported before 4.2 you can refer to the official documentation of google
http://developer.android.com
i use PhoneGap 2.9.0. for my android app. in the app i use inappbrowser to display content from my website. The problem is when i tried to play embedded video from vimeo, it doesn't work (When i do the same thing with the phone webbroser the video play). I used for test samsung S2 with android 4.1.2
Can InAppBrowser play video from vimeo in the native video player automatically?
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.
I'm running into a funny problem. I have a html file where a video is embedded. When I'm launching this html from my mobile with Android 2.3, it just streams fine, I can see whole video from the android browser. But when I try to do the same from my other android with 2.2 version, it tries to download the video instead of steaming.
How can I let the Android 2.2 browser just stream the video instead of downloading the video from html?
The media player in the html file used is JW player, and the html file with video is hosted on bitsontherun website.
Any help is greatly appreciated.
The android 2.2 phone probably doesn't understand the plugin (jw player is a flash video player if memory serves).
Does the 2.2. phone have the flash pluing installed and set to use? In the webview make sure it is allowed to use the plugins as well:
webView.getSettings().setPluginsEnabled(true);