Get your own customer support community
 

Sync XML playlist with Next Button of sliding panels widget.

Hi, I have a problem. I have flash player that works with xml. The issue I have is that on a certain page (Shows) there is a Sliding Panels widget that has 14 different slides in it. The flash player is at the top playing through the playlist.

All well and good except that the client wants a specific song to play when a particular show is visible. So when you click Next to go to the next slide a new song needs to play. In other words the XML playlist needs to be controlled by the Next and Back buttons of the Sliding Panels widget.

Site is here:
http://homepage.mac.com/nigelgrimshaw...

Some great soul told me on a forum that Sound Manager 2 was the answer to my problems.

Trouble is I dont know how to connect SM2 to my FlashPlayer and how to go about it at all really.

Can you please please help.

Nigel
 
sad I’m anxious
Inappropriate?
1 person has this question

  • Inappropriate?
    Ah, so the desired behaviour is you want to be able to control the flash widget (ie., to play a certain song) when the "next" HTML link is clicked, from Javascript.

    This is unfortunate as the current set-up looks to be working pretty well as-is. Using SM2 would get you better control from Javascript, but you would pretty much have to re-write the rest of the player UI to get what you currently have with the Flash stuff. :/

    What I might look at doing instead is when "next" is clicked, re-loading the Flash widget with a different playlist file that has the desired song first in the list, and then it will play from that point.

    It might be a little tricky, but you can re-write content to a DIV generally with innerHTML (or in this case, a SWF using SWFObject or whatever JS library you might have) - and if you can specify a parameter to a playlist file, then you can have different playlist files for different "first songs".

    This discussion is outside of SoundManager 2, so I might look at the forum/support for the flash widget you're using to do the MP3 playing currently.

    Best of luck!
     
    silly
    Sprite_screen The company says this answers the question
User_default_medium