iPhone quicktime playlists

Discussion in 'iPhone Tips, Help and Troubleshooting' started by edgecrush3r, Mar 14, 2008.

  1. edgecrush3r macrumors newbie

    Mar 14, 2008
    Hi guys,

    I am currently working on a Firefly music streaming application for the iPhone (http://sourceforge.net/projects/ffmcrossfire).
    So far, the application works great and playsback single files. Ofcourse my next step is to beeing able to play a whole album (or songs by an artists).

    Does anyone know how to create and embed playlists on the iPhone??
    I've tried creating SMIL files and embedding the QTPlayer (which work great on my PC), but doesnt seem to be working on my iPhone :(

    Help would be appreciated!

  2. fozzy74 macrumors newbie

    Mar 16, 2008
  3. edgecrush3r thread starter macrumors newbie

    Mar 14, 2008
    thanks a lot !! I will definitely have a look on this qtnext tag. I am pretty happy at least 1 usefull tag got implemented in the embedded version of QT. It was sure doing my heading finding <anyway> to create an playlist.

  4. edgecrush3r thread starter macrumors newbie

    Mar 14, 2008
    Pffff.. after some heavy investigations on the qtnext tag, i finally got things working. strange behaviours to be noted though.

    Herby a working example:
    document.getElementById(p_elementid).innerHTML='<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" '
    +'height="30" codebase="http://www.apple.com/qtactivex/qtplugin.cab">'
    +'<param name="src" value="'+ p_filename +'">'
    +'<param name="qtnext1" value="<binairyproxy.php?enc_url=aHR0cDovL2xvY2FsaG9zdDozNjg5L2RhdGFiYXNlcy8xL2l0ZW1zLzcw> T<myself>">'
    +'<param name="autoplay" value="true">'
    +'<param name="controller" value="true">'
    +'<param name="loop" value="false">'
    +'<embed src="'+ p_filename +'"'
    +' bgcolor="000000"'
    +' width="320" height="255" autoplay="true"'
    +' qtnext1="<binairyproxy.php?enc_url=aHR0cDovL2xvY2FsaG9zdDozNjg5L2RhdGFiYXNlcy8xL2l0ZW1zLzcw> T<myself>" '
    +'controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/"></embed>'

    .. note the following in the code p_filename is the file I am playing.
    the qtnext parameter value doesnt like protocol identifiers such as 'http://' on the iPhone... also I had some issues when adding more than one HTTP parameter to the url (e.g. example stream.php?file=mysong.mp3&nocacheid=199312 )

  5. mike n macrumors member

    mike n

    Nov 2, 2006
    Pittsburgh, PA
    previous and next buttons?

    I tried that example, and everything seems to work (the files play in order), except that the previous and next buttons don't do anything. Anyone have any idea how to make those work so that I can click them to navigate to the next song?

Share This Page