i have a problem with android and phonegap. I am finding out the best way to load an online video stream from youtube, my code is the below:
The video will not load, it displays a screen with the red youtube button but the video will never load on play...
your help is very much appreciated..
Thank you.
If you are using HTML5 video on Android, it is not supported by the operating system on Android 2.x devices. Try this native plugin: https://github.com/phonegap/phonegap-plugins/tree/master/Android/VideoPlayer
Related
I want to live stream a 360 video to my android app.
The main function of the app is to watch live 360 videos.
I tried using the YouTube API, but it does not work as it doesn´t render the video. I tried using the Google VRVideoView from the cardboard API. But it seems it can´t parse YouTube URI.
Is there any way I can do this? Or any alternative platform that supports 360 video steaming on mobile?
I have used Pan frame SDK to play 360 video in Android App. I have updated the complete source code in Github,
https://github.com/JayaprakashR-Zealot/360VR
Please let me know if you find any issues.
I want to stream a 360 video from YouTube in my android app in such a way that it is compatible with Google Cardboard- that is, I want the video to be streamed side by side like in CardboardView.
I have been searching the internet about this and I don't seem to have much luck with it. So any amount of help would be heavily appreciated. Thanks in advance!
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 want to play the video file and it's like
http://test.XXXX.com/myfile.wmv
am using Video view for that but it saying unable to play video error
I tried using WebView also but it showing only blank page.
Just i want to play that video link file in device online.
How to do that ?
Note : The links are working i tested on Windows browser.
Thanks
You will have to transcode the video to an android supported format and make the result available on your server as well.
http://developer.android.com/guide/appendix/media-formats.html provides an official overview of supported forms, but you may have more practical look googling for instructions on transcoding for android devices.
I have just referred to the PhoneGap Documentation for Media, which stated:
"The Media object provides the ability to record and play back audio files on a device."
I wonder whether video streaming (RTSP) is possible or not with PhoneGap framework? I am trying this out on Android.
Any suggestions highly appreciated.
Yes, streaming to the device is possible.
Just like with a normal website/webapplication.
I don't know if it's done yet, but this is a audio stream script:
http://www.joeldare.com/wiki/play_an_mp3_audio_stream_in_phonegap
I hope that will get you started.
EDIT:
Maby this will also help you to get started:
http://groups.google.com/group/phonegap/browse_thread/thread/584028fe07b0c869/47a1af617c94540a?#47a1af617c94540a
Simply the streaming video can be opened up in a child browser or in App browser to play the video. This solution will work both on Android as well as iOS.
Also if the streaming will be opened in the browser it will appear in full screen mode as q media player will play the video on safari.
Hope this will help.