« Back to jordanbalagot.com
Huge Improvements to the Flash Music Player – Autoresume, Volume, Shuffle, and more

Posted on Tuesday 12 May 2009

I upgraded the XSPF player to a hugely improved version I found here:
http://www.boutell.com/xspf/
Now, as you surf the site, the music will auto-resume to where you left off. Also, if you stop the music, it remains stopped as you surf other pages or come back to my site later.
The enhanced XSPF player also allowed me to set the default volume from the start (50%), allows you to seek through songs, and allows you to shuffle and repeat tracks.
Thank you, Fabrico Zuardi (original creator), Lacy Morrow (shuffle version), and Boutell.com (auto-resume version)!

Edit:
Looking at the ActionScript, I realize I was wrong, after a minute auto-resume times out and the site will go back to playing from the beginning. This was a feature programmed so that auto-resume only jumps between pages. I’m debating turning off the one-minute time-out. What do you think? Is auto-play acceptable if the volume is turned down? When you come back to a site days later, do you want it to resume playing music where you left off?


13 Comments for 'Huge Improvements to the Flash Music Player – Autoresume, Volume, Shuffle, and more'

  1.  
    chris
    June 10, 2009 | 6:40 pm
     

    It’s not working in Safari for me. I can get it to work in Firefox, Netscape… yet not in Safari 3.2.1 on all the macs around me. Any suggestions.. on how to make it autoresume in Safari?

    I’m basically looping one file with autoresume across a website.

    Thanks
    chris

  2.  
    October 4, 2010 | 12:47 am
     

    hey I saw your post trying to get the autoresume function working and it worked very well. The site is very impressive looks like you know alot about this stuff. thanks

  3.  
    Sarah
    November 9, 2010 | 6:56 am
     

    Hi guys,
    I’ve inserted the Boutell XSPF version to my flash AS2 project. The player works fine but I can’t make the autoresume/play/shuffle to work.

    My flash pages are seperate swf/html’s pages and they all have this embed code :

    In the .as file I didn’t make any changes apart from the name. “test2.xspf&autoplay=1&autoresume=1&shuffle=1” as the player URL.

    I’ve even tried to put the pages as sequences to my index page, but that doesn’t seem to help either 🙁

    Would you have any good advice?

  4.  
    Sarah
    November 9, 2010 | 6:57 am
     

    Here’s the code 😉

  5.  
    Sarah
    November 9, 2010 | 6:57 am
     

    data=”xspf_player_slim.swf?playlist_url=test2.xspf&autoplay=1&autoresume=1&shuffle=1″

  6.  
    Sarah
    November 9, 2010 | 6:58 am
     

    <param
    name="movie"
    value="xspf_player_slim.swf?playlist_url=test2.xspf&autoplay=1&autoresume=1&shuffle=1"

  7.  
    November 9, 2010 | 4:14 pm
     

    Hi Sarah,
    It sounds like you might have an old version of the player, which is named the same as the new one. Make sure you have this one and try replacing the xspf player:
    http://www.boutell.com/xspf/xspf-boutell.zip

  8.  
    Sarah
    November 15, 2010 | 11:42 am
     

    Hi Jordan,
    Thank you so much for your reply. I replaced it with the new one…Changed the .as file and replaced the xspf player. … but no luck, the player still functions great, but not as asked: test2.xspf&autoplay=1&autoresume=1&shuffle=1

    I did take some of the functions out of the xspf player (left the control, tracklist, volume, start button and took the info button and icon button out). But I don’t see that that might be the problem…!
    By the way, I’m using the slim version if ever that should be of a useful information.

  9.  
    December 2, 2010 | 4:53 pm
     

    I’m also having the same problem, and also using the slim version. Let me switch to the other version and see if it makes a difference.

  10.  
    December 2, 2010 | 4:57 pm
     

    No dice. Same problem. No resume.

  11.  
    Altruistic
    April 1, 2012 | 7:23 am
     

    Guys the player is not working in windows Nt server is there any solution to that please help um stuck!!!!

  12.  
    Daniel
    April 29, 2012 | 11:25 pm
     

    have you figured this out, your player works great! I am wondering how I get mine to work the autoresume feature is all I want, I can make it autoplay, but not autoresume. please help!

  13.  
    Daniel
    April 29, 2012 | 11:53 pm
     

    turned out to be my fault, just follow the instructions exactly on boutell and your good!

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI