Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

How do i set an URL for the MusicPlayer?

Hi there,

Question: Is it possible to play a streaming mp3 from a webserver with the MusicPlayer.

I just browsed the API Titanium.Media.MusicPlayer.
There does not seem to be a way to directly set an url for a source/mp3.

Musicplayer.setQueue lets me set one or more Titanium.Media.Item. But it seems MediaItems also dont have an url attribute.

Do i miss something ?

— asked September 8th 2010 by David Waith
  • iphone
  • mediaitem
  • musicplayer
1 Comment
  • Did you find a solution for this?

    — commented June 10th 2014 by Billy Jones

1 Answer

  • Is this work for Android as well?

    — answered June 4th 2013 by ankur kulkarni
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.