We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7455
    • 2,204 Posts
    Nice work
    i like it that it resumes after page refresh/switching to another page
      follow me on twitter: @dimmy01
      • 8790
      • 526 Posts
      Hi,

      Very nice snippet. Thank you.

      However, If I use it to play ONE unique file, the &no_repeat parameter looks like being overiden by ’something else’ and only &no_continue=`1` make the player stop after the mp3 was played.

      Even &repeat=’0’ does not stop de autorepeat...

      Did you saw this ?

      Thanks a lot
        Schtroumpf Grognon - Grouchy Smurf
        ---------------------------------
        Faites pas attention.. - Don't pay attention
        http://www.dzi-neo.net
        • 14412
        • 74 Posts
        I’m a bit puzzled by your question. Attention, there’s no [tt]&no_repeat[/tt] parameter...

        From the snippet parameters list (in xspf_jukebox.snippet.php):
        /*
         * &no_continue : turn off automatic song changing
         * default = false
         */
        	'no_continue',
        /*
         * &repeat : repeat track
         * default = false
         */
        	'repeat',
        /*
         * &repeat_playlist : repeat the playlist
         * default = true
         */


        From what I gather, you’re trying to play ONE track exactly ONE time, is this correct?

        If so, how are you feeding the player? Are you using [tt]&playlist_url[/tt], [tt]&track_url[/tt], [tt]&playlist_url[/tt] or he default, [tt]&folder [/tt]?

        Note: If you didn’t set any of these, then you’re using the default behaviour of playing mp3 on assets/media, in which case it’s the same as if you use [tt]&folder=`assets/media`[/tt]

        Watch out for precedence between these parameters if you’re setting more than one of these at a time (then again, why would you want to do that?)


        Bottom line: if you’re using anything other than &track_url, the correct parameter is [tt]&repeat_playlist[/tt], which is on by default. If this is your case, to prevent a single track from repeating call the snippet with [tt]&repeat_playlist=`0`[/tt]

        Hope this helps,

        JP
          Got Music? Try XSPFjukebox - Skinnable MODx Media Player
          • 8790
          • 526 Posts
          oops, I was thinking &no_continue=`1` instead of no_repeat, sorry.


          From what I gather, you’re trying to play ONE track exactly ONE time, is this correct?

          yes

          I use this call in order to do what I want :
          [!XSPFjukebox? &skin=`MiniTunesReduced` &no_continue=`1` &track_url=`http://www.xxxxxxxyy.tld/assets/media/lsv/lsv1.mp3`!]


          Without &no_continue the player will loop infinitely on the unique mp3 file.

          Thank you
            Schtroumpf Grognon - Grouchy Smurf
            ---------------------------------
            Faites pas attention.. - Don't pay attention
            http://www.dzi-neo.net
            • 8790
            • 526 Posts
            Up ..?

            and something else too :
            see next post please
              Schtroumpf Grognon - Grouchy Smurf
              ---------------------------------
              Faites pas attention.. - Don't pay attention
              http://www.dzi-neo.net
              • 8790
              • 526 Posts
              Hi again,

              Can you tell me if there is any way to customize the buttons.

              AFAIK, looking around the various xml files coming with the skins, we can use any background image t o position some shape or objects above.

              Well, but is this possible to change the button shape ? For example I’d like to use a pair of tiny loudspeaker pix in place of the standard "play triangle shape" (one pix for play and another for pause/stop)

              How can I do this ?

              Thank you
                Schtroumpf Grognon - Grouchy Smurf
                ---------------------------------
                Faites pas attention.. - Don't pay attention
                http://www.dzi-neo.net
                • 8790
                • 526 Posts
                well, this place is quit calm..


                Here is another stuff :

                As the snippet seams to embed SWFObject instead of using the actual snippet (?) we almost always face the SWFObject issue with IE (the unloadable page OR loading of the page that never ends - background images not coming and so on).

                As far as this do not appears on all systems, I’m still not sure of my suggestion but ...
                You must add a defer = "defer" statement at line 75 of xspf_jukebox.class.php :

                	if ($replaceID == 'XSPFreplace') $tag .= '<div id="'.$replaceID.'">
                			XSPFjukebox player: please enable javascript or use embed=`swf`
                			</div>';
                		$tag .= '<script type="text/javascript" defer="defer">
                				


                Let test this please.


                  Schtroumpf Grognon - Grouchy Smurf
                  ---------------------------------
                  Faites pas attention.. - Don&#39;t pay attention
                  http://www.dzi-neo.net
                  • 16512
                  • 29 Posts
                  Hi,

                  Has anyone gotten the ID3 support to work? I´ve tried everything I can think of and it does not seem to be working.

                  Otherwise very nice player.

                  -Kyle
                    • 28033
                    • 925 Posts
                    http://symphonicheaven.com/downloads/ps2/destiny/soundtrack

                    I have an odd issue. For some reason, State of Emergency (over 3 MB) would not appear in the playlist.

                    But when I deleted the generated playlist, and had the script recreate it, it appeared. I’m gonna test this later to see if there’s a bug if the file is larger than a specific size.
                      My Snippets
                      -> PopUpChunk v1.0
                      • 31471
                      • 206 Posts
                      I use the default /assets/media parametering with MiniTunes or SquareOne skins. These skins doesn’t have a playlist, nor an ID tag. (But I like them so much!)

                      Can anyone help how to show a playlist of the files with links to play them?