swift - How to forward streaming media (music ) in ios? -


var url = nsurl(string: musicarr?.objectatindex(count) as! string)      player = mpmovieplayercontroller(contenturl: url)             self.view.addsubview(player.view)       player.moviemediatypes.rawvalue     player.preparetoplay()     player.play() 

using movie player , playing media remote url!

if click on middle of slider mp3 should start there.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -