Results 1 to 5 of 5

Thread: HTML Sound

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

    Default HTML Sound

    How to make a switchable image which could start and stop a music file ?
    Like when we load the page the music should start and when we click on the image it should toggle like if its playing then it should stop otherwise it should start
    Can anybody help me on this

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Try this.
    I've used this for one of my projects, and it's a pretty cool thing.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

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

    Default

    Note also that this isn't an html question. Javascript, at least.
    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

  4. #4
    Join Date
    Jan 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I don't know exactly about the image, but i played the song in my website as i like. I found this website for making this, http://www.fleximusic.net/support/mp301.htm may be this one will help you.

  5. #5
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by rashy View Post
    How to make a switchable image which could start and stop a music file ?
    Like when we load the page the music should start and when we click on the image it should toggle like if its playing then it should stop otherwise it should start
    Can anybody help me on this
    Just use flash.
    Then you can even do things like having an XML playlist, etc...
    (edit: which, i just noticed is also in tech_support's example)

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
  •