We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14412
    • 74 Posts
    XSPF Jukebox Media Player - link to Repository.
    Skinnable MODx Flash Music Player
    @version 0.1.1
    @date 2007/10/24
    @author joeindio
    Use this forum to post any comments about this addition or any questions you have regarding its use.

    ____

    Hello all,

    This is my first attempt at a "serious" Snippet. Basically I pulled up the excellent XSPF Jukebox Music Player and created a wrapper snippet for MODx. I believe it works quite well as it is, so I added it to the Repository

    XSPFjukebox is a flash music player featuring
    • Fully skinnable Interface via simple xml files - check the included skins inside the skins/ folder
    • 3 player modes:
      [list][li]single file
    • remote playlist in XSPF format
    • play files from a folder (the default - snippet automatically generates playlists based on your music files)
    [/li]
    [li]ID3 support (optional)[/li]
    [li]Individual images for each track and related images from Amazon[/li]
    [li]Unobstrusive Flash content: javascript-based embedding using SWFobject (features Advanced Flash detection and error handling) or use XHTML standards-compliant SWF tag[/li]
    [li]Automatic resume of tracks, autoplay, shuffle, plus many more options! Check the snippets parameters for a detailed list.[/li][/list]

    I’d like to have your feedback and help to improve my rough OO code and make of this the best CMS Media Player out there! smiley

    Cheers,
    JP

    UPDATE: fixed skin XML parsing to be compatible with php lower than 5. Updated in Repository (v0.1.1)
      Got Music? Try XSPFjukebox - Skinnable MODx Media Player
      • 33337
      • 3,975 Posts
      Man, this looks amazing! I’ll tinker with it as soon as I get time.

      Brilliant work, and keep it up. smiley

      regards.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 7231
        • 4,205 Posts
        This looks great, I can’t wait to check it out.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 14138
          • 13 Posts
          Sweet, this is exactly what I need for a project I’m doing! -- Thanks! grin
            • 20289
            • 958 Posts
            By the description... its Awesome!
            - How about having MP3 lists to be played from different albums in different pages?
            - is there a way to track how many times the files have been played/downloaded?
              [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
              [td][Wiki] [Persian support forum]
              [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
              [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
              • 14412
              • 74 Posts
              Hi,

              Having different MP3 lists from different albums is easy, just feed the reader with the appropriate playlist file. Or let it generate a new one on each page - just feed it with the mp3 file’s folder for each page.

              There’s no out of the box functionality to track playing statistics, but it shouldn’t be that difficult to implement. I’ll get back to it...

              Like I said, for now this is mostly a wrapper snippet but keep that feedback coming and we’ll see what this leads to...

              Cheers, JP
                Got Music? Try XSPFjukebox - Skinnable MODx Media Player
                • 6726
                • 7,075 Posts
                Now that’s a cool addition I think of a couple of things I’ll do with it !

                I’ll definitely test and report smiley
                  .: COO - Commerce Guys - Community Driven Innovation :.


                  MODx est l'outil id
                  • 28033
                  • 925 Posts
                  http://symphonicheaven.com/psp/radiant/downloads/soundtrack.php

                  Set it up in about 10-15 minutes. IMHO, it might be good to talk about the autoplay/autoload functions on the Repository page, only because most users will be needing those, and they’re buried in the snippet code.

                  IMHO, I’d say preload the playlist (if it’s being done in a folder, obviously) automatically. Seems counter-intutive to have the user load it themselves. Autoplaying should be false, since that’ll annoy someone as much as people who have music playing in the BG of their website.  laugh
                    My Snippets
                    -> PopUpChunk v1.0
                    • 4310
                    • 2,310 Posts
                    @ Soshite

                    Followed your link to see the player in action and noticed....
                    So, without further adieu, pick a song to listen to it!

                    Should be
                    So, without further ado, pick a song to listen to it!

                    Hope you don’t take offence!
                    David grin
                      • 28033
                      • 925 Posts
                      x_x...gah. Well, that’s what I get for trying to do it somewhat faster than usual after 3 hours in back-to-back VBasic / C programming classes laugh

                      *notes to self to fix that*
                        My Snippets
                        -> PopUpChunk v1.0