Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    New Coder
    Join Date
    Oct 2002
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embedding Audio into HTML page

    Hello all. Wanted to see if any of the studs here could clue me into how I might go about embedding an audio file into a webpage. I have had luck in the past using a .wma file with the Windows Media Player control panel, but I would like to create a file that simply plays when the page is loaded. If at all possible this audio would stream and the player controls would be hidden.

    Any ideas are welcome. Thanks in advance for your time.

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    http://cit.ucsf.edu/embedmedia/step1.php

    Select which type of file you want then select the don't show controls option.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    New Coder
    Join Date
    Oct 2002
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You're beautiful. Thank you.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    <embed src="sound.wav">
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #5
    fan
    fan is offline
    New Coder
    Join Date
    Jan 2003
    Location
    Romania
    Posts
    72
    Thanks
    1
    Thanked 0 Times in 0 Posts
    hey!
    maybe you post this problem a long time ago
    but here is the answer:
    <embed src="source.wav" hidden=true>

    hidden=true hides that panel
    and to put a background sound use
    <bgsound src="source.wav"> anywhere in page

    fan

  • #6
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,093
    Thanks
    11
    Thanked 101 Times in 99 Posts
    Originally posted by dean80
    You're beautiful. Thank you.
    hmmmm you aint seen Spook's picture yet then I take it
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #7
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Originally posted by firepages
    hmmmm you aint seen Spook's picture yet then I take it
    Don't make me yak you.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #8
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Battle Of The Mod Guns!
    Next on Jerry Springer

  • #9
    Regular Coder
    Join Date
    Jan 2003
    Posts
    680
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is he ugly?

    (o<
    //\ &nbsp; &nbsp; &nbsp; =^..^=
    &nbsp; &nbsp; $!

  • #10
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    *watches meow hand out ammunition*

  • #11
    New Coder
    Join Date
    Feb 2003
    Location
    Toronto, ON
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1x1px transparent Flash movie does the trick nicely as well. Then you can use .mp3s

    Cheers.
    Thodyconsulting.com

  • #12
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Originally posted by thody
    1x1px transparent Flash movie does the trick nicely as well. Then you can use .mp3s

    Cheers.
    Hmmm hadn't thought of that.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

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