SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2009
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    embedding wav file in html

    Hi

    On my site I tried embedding code so the user can play/stop the wave file.
    link: http://www.theillusionist.ca/
    It is not working and I don't know why.


    <EMBED height="16" SRC="Upgrade_your_Identity-full_length_track.wav" VOLUME="50" loop="false" controls="console" AUTOSTART="FALSE" width="128">

    If anyone could help me out, that would be great.

  2. #2
    SitePoint Addict AtSea webdesign's Avatar
    Join Date
    May 2010
    Location
    Newark, Delaware
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can you uncomment the embed section?

    One word of advice and not trying to be mean but I would suggest using divs for your layout and scrap the nested tables.

    Second. Convert you wav into an mp3. Wav's can be enormous depending on quality and length. It may be that the file is huge and takes forever to actually download.

    When I place this in my browser
    http://www.theillusionist.ca/Upgrade...ngth_track.wav

    So far it's 30 sec. and still not loaded.

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2009
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi
    Thanks for answering me. I have asked the person who sent me the wav file to convert it to mp3.
    I have uncommented the code and it can be found at:
    http://www.theillusionist.ca/index_test.html

  4. #4
    SitePoint Addict AtSea webdesign's Avatar
    Join Date
    May 2010
    Location
    Newark, Delaware
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seems to be working for me fine in FF on mac.

  5. #5
    SitePoint Zealot
    Join Date
    Aug 2009
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you.
    This is a dumb question, but if they want the music to play, irregardless of what web page they are on, but still want the controls to display, would I have to put this on every web page?

  6. #6
    SitePoint Addict AtSea webdesign's Avatar
    Join Date
    May 2010
    Location
    Newark, Delaware
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no question is dumb. That's how you learn.

    Yes you have to embed the song on the page. It won't play across pages.

    And yes you would need the controls on every page. Unless you started the song automatically but people may get annoyed with that.


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
  •