I need to play audio files using HTML using Android. For example: I have the audio URL file http://a1.phobos.apple.com/us/r1000/011/Music/12/14/7f/mzm.ubzkrulq.aac.p.m4a
and need to make it play in a HTML browser. How do I do this?
Try it -
mediaPlayer.setDataSource(<http url>);
mediaPlayer.prepare();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.