Results 1 to 3 of 3

Thread: Coding a Playlist (or multiple sound files) to play in JavaScript

  1. #1
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Coding a Playlist (or multiple sound files) to play in JavaScript

    hello

    how can i rewrite the lines below, contained in a .ram playlist, as javascript:

    Code:
    http://myplaylistsite.com/sound/clip1.rm
    http://myplaylistsite.com/sound/clip2.rm
    http://myplaylistsite.com/sound/clip3.rm
    http://myplaylistsite.com/sound/clip.... (etc.)
    that is, instead of using a hyperlink to play an external .ram file (or. wax for that matter), i want to activate a script within the HTML page (via a simple click) which will iterate through the audio clips.

    incidentally, the reason i need such a script, is because i want to be able to synchronize the playing of consecutive audios file with the highlighting of their corresponding texts/lyrics. and i understand this can only be done by capturing events within a javascript script.

    p.s. "http://myplaylistsite.com/" doesn't really exist, just there for illustration.

    thanks

  2. #2
    Join Date
    Jul 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    interesting idea.

    would it be possible for you to create something similar using flash?

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Flash or an external playlist are the way to go. If you need to, you could try to automatically generate the playlist, though I don't see this really working well with javascript...
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •