We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4273
    • 356 Posts

    src="[(site_url)]assets/xspf_player/xspf_player.swf?playlist_url=[(site_url)][~17~]"


    tried this and still does not pull up the list of songs

    i have furl on yes
      SMF Bookmark Mod - check it out
      http://mods.simplemachines.org/index.php?mod=350
      • 22815
      • 1,097 Posts
      You are replacing 17 with the ID of your playlist, yes?
        No, I don't know what OpenGeek's saying half the time either.
        MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
        Forum: Where to post threads about add-ons | Forum Rules
        Like MODx? donate (and/or share your resources)
        Like me? See my Amazon wishlist
        MODx "Most Promising CMS" - so appropriate!
        • 4273
        • 356 Posts
        yes it has the ID of the playerlist doc I made, everything appears but the songs,
        I notice way you wrote out this code on your site is slightly different than the one here not sure if that has anything to do with it.

        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
        width="400" height="168" >
                <param name="allowScriptAccess" value="sameDomain"/>
                <param name="movie" value="[(site_url)]assets/xspf_player/xspf_player.swf"/>
                <param name="quality" value="high"/>
                <param name="bgcolor" value="#E6E6E6"/>
                <param name="wmode" value="transparent"/>
            <embed src="[(site_url)]assets/xspf_player/xspf_player.swf?playlist_url=[~17~]"
            quality="high" bgcolor="#E6E6E6" name="xspf_player" allowscriptaccess="sameDomain"
            type="application/x-shockwave-flash"
            pluginspage="http://www.macromedia.com/go/getflashplayer"
            align="center" height="168" width="400" wmode="transparent"> </embed>
        </object>


          SMF Bookmark Mod - check it out
          http://mods.simplemachines.org/index.php?mod=350
          • 7923
          • 4,213 Posts
          When you view the source of your site and you see the url in the <embed> tag src attribute, what happens if you copypaste it to your browser? and if you only take the playlist url and view it in your browser, can you access the document and is the xml output correct?


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 4273
            • 356 Posts
            Quote from: doze at Jul 28, 2006, 02:39 PM

            When you view the source of your site and you see the url in the <embed> tag src attribute, what happens if you copypaste it to your browser? and if you only take the playlist url and view it in your browser, can you access the document and is the xml output correct?

            when I past the embed URL in the browser it pulls up the player in the entire browser and when viewing the xml it doesn’t display in browser it downloads so i opened it in bbedit and everything appears correct

            <playlist xmlns="http://xspf.org/ns/0/" version="0">
            <tracklist>
            <track>
            <location>http://localhost/modx/assets/songs/mysong.mp3</location>
            <img alt="" />http://localhost/modx/assets/images/cover.jpg<annotation>mysong</annotation>
            </track>
            </tracklist>
            </playlist>


            for playlist

            <object width="400" height="168" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
            <param name="allowScriptAccess" value="sameDomain" />
            <param name="movie" value="[(site_url)]assets/xspf_player/xspf_player.swf" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#E6E6E6" />
            <param name="wmode" value="transparent" />
            <embed width="400" height="168" align="middle" src="[(site_url)]assets/xspf_player/xspf_player.swf?playlist_url=[~37~]" quality="high" bgcolor="#E6E6E6" name="xspf_player" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent"></embed>  </object>


              SMF Bookmark Mod - check it out
              http://mods.simplemachines.org/index.php?mod=350
              • 7923
              • 4,213 Posts
              Your playlist xml is not correct, the path to cover image should be wrapped inside <image></image> tags. Look at my example xml file.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 8960
                • 150 Posts
                Doze, thank you for taking the time to explain your steps (about setting up the xspf Flash player)! This worked like a charm for me, whereas MODcast didn’t at all.

                Thank you, thank you, thank you!!

                  • 7923
                  • 4,213 Posts
                  Thanks! I will make an article in the wiki too for how to set this up with TV’s (to upload the files with) and Ditto (to make the playlist), soon.. I promise wink


                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                    • 26799
                    • 177 Posts
                    yeah, I agree great work. Thanks!
                      • 1535
                      • 84 Posts
                      Just so you know, use of the embed tag is not allowed in XHTML and will break validation.

                      I am looking for a fix.

                      Cheers,

                      Andreas