Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Urgent Javascript/Flash problem - music shop

Discussion in 'Website Design Forum:' started by bamme, Nov 26, 2009.

  1. bamme

    bamme Senior Member

    Hi people

    Ive been asked to design a music shop - users can listen to cut versions of the songs, and then buy individual tracks or a whole album. This has been completely sprung on me and i have a lot to deal with in terms of payment processing etc so I'm trying to get thru the design quickly.. but Im being stopped by this problem :(

    My problem is how to allow the viewer to play a cut version of each track before buying it. a clear part of this project is that it has to be accessible by all - inc. those without Flash.

    Ive been asked to make the player/individual mp3 players not be able to play more than one track at once - for an actively playing track to stop, when 'play' is clicked on another track.

    So, I need to find a way to ideally play all the tracks using only javascript (is this correct for accessibility purposes), and a way for any track playing to stop when another track's 'play' gets clicked.

    Ive thought about including a javascript player for each individual track and then the possibility of adding extra code to make one player stop when another starts playing - because i am a javascript newbie, and can use plugins but not much else, i havent a clue how easy or possible this is - can anyone help?

    PS: If it helps , I did find this: NiftyPlayer - a small and simple Flash MP3 player! - which someone said could work with no flash components at all and only javascript, but then no reference to how.. (id need to be able to modify colour and style to a small extent)
  2. Jazajay

    Jazajay Active Member

    Would it not be easier just to load cut versions of songs down to your ideal length?
  3. bamme

    bamme Senior Member

    Hi jaz - the tracks have been cut down manually and faded out to 3/4 their full bought length, but my issue is how to display them to people.. i looked at youtube as an example which didnt have much to offer anyone without flash.. so i think ill go with using a flash interface for the tracklist, and then behind the flash to people who dont have it, just a .zip link to download the set of tracks - theyre all cut down to 3/4 length. do you think this is a good idea? :S
  4. Jazajay

    Jazajay Active Member

    Sweets I've so far never needed to play with music files so you are more experienced with this than me TBH. But that does seem like it should work though. :)

    Let me know how you sort it if it doesn't or if you come up with a better solution.

Share This Page