I am developing an android application to stream live radio.Which method can I use for developing such an application .I have just tried adding html code in html file in assets folder and load them in webview .But it doesnt work without flashplayer .I need to stream it without flash player.
I used Radio this link as HTML code .
Related
I am using webview to play youtube videos. This is working fine. But I wanted to try this. How can I play the video from SD card in Webview using Iframe in android.
Any other possibilities are there to do this? Can I try any HTML5 video tag? Anyone can suggest me about this?
If I installed Flash Player of my device and enable such browser plugins then could I be able to play local videos from SD card inside webview?
You can try to add custom HTML code to display in the webview and using HTML5 video tag you can acheive this task. Give it some try.
i am creating an app for my website which contains lots of wmv video files.
and i want to be able to play them in my app.
i understand that android does not support wmv files so my question is:
is there any way for me to do this without to change all videos format in my site?
any modificatios to my videos via code (java - eclipse) or libraries, any loop holes?
I've been trying to create a site that has streaming video and I could never get Android devices to work with it. Then I found this...
http://www.longtailvideo.com/blog/31646/the-pain-of-live-streaming-on-android
I am working in Android app using html, jQuery, phonegap.
Here I am trying to put HTML5 audio player.That is not working with the local app song path in app folder but when I put an online song path that works fine(ex: http://example.com/audio1.mp3)
In Below my coding with path from online song url which is working:
<audio id="audio-player" src="http://example.com/audio1.mp3" type="audio/mp3" controls="controls"></audio>
In Below my coding with local app path which is not working:
<audio id="audio-player" src="/android_asset/www/media/demo.mp3" type="audio/mp3" controls="controls"></audio>
I was trying to resolve this but no success.
In the second case the src is wrong.
It should be file:///android_asset/www/media/demo.mp3.
I have a URL which downloads an .asx type file when clicked . The file downloaded , streams a live radio and plays it in an audio player . How do i handle this in my android application using titanium appcelerator ?
Thanks
You don't use asx files, since audio player is a functionallity of Android. You need to use Titanium.Media.AudioPlayer
Docs here: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Media.AudioPlayer
I have an application that I want to play a video in. I want to play the video from an embed code via html5 in an iframe. Is it possible to call the androids stock video player to play the video from the iframe embed code?
I fixed this by putting my embed code in an html file inside the assets folder. works greate.