Using MP3 in HTML
Page 1 of 1
Using MP3 in HTML
Hi all,
I tried various websites already, like W3Schools, to make this work, but I can't. Can someone please help me to correct this code?
I'm trying to get a background song working in my Webshop (HTML based).
Thanks in advance,
Samantha
Main site URL: http://www.game-xtreme.com
Shop URL: http://www.game-xtreme.com/h3-dungeon-shop
I tried various websites already, like W3Schools, to make this work, but I can't. Can someone please help me to correct this code?
- Code:
<audio controls=""><source src="http://yoshi.2yr.net/BIGfiles/mp3s/YI-07-flower%20garden.mp3" type="audio/mpeg" autoplay="true" loop="true" hidden="true" /></audio>
I'm trying to get a background song working in my Webshop (HTML based).
Thanks in advance,
Samantha
Main site URL: http://www.game-xtreme.com
Shop URL: http://www.game-xtreme.com/h3-dungeon-shop
Guest- Guest
Re: Using MP3 in HTML
Hello SamanthaS,
Try this :
Try this :
- Code:
<audio controls autoplay loop>
<source src="http://yoshi.2yr.net/BIGfiles/mp3s/YI-07-flower%20garden.mp3" type="audio/mpeg">
</audio>
Re: Using MP3 in HTML
Hi Ange!
I know you're working hard on it. I had it going this afternoon, but I replaced the code by some silly mistake and now I can't remember the solution.... :'( Your code's as good as mine, and I'm sad to say it won't work.
I know you're working hard on it. I had it going this afternoon, but I replaced the code by some silly mistake and now I can't remember the solution.... :'( Your code's as good as mine, and I'm sad to say it won't work.
Guest- Guest
Re: Using MP3 in HTML
That is weird, it seems to be working. Which browser and version of it are you using ?
Re: Using MP3 in HTML
FireFox 26.0, the latest. I'm sure my computer plays audible sound. Yea, I can see that player too, for a sec after it disappears into nowhere. I like to get the thing hidden and autoplay the sound. Width and height can be set to "0" too.
What are you using? And can you hear anything?
EDIT: Oh dear. I made a script error. It's solved now! Pretty, pretty, pretty! All I need still is to hide the controls... using "hidden" somewhere or width="0", height="0"? I owe you big time again, Ange!
EDITTED AND SOLVED! hidden="true" did the trick! The complete code runs as follows now:
THANKS, ANGE! Check it out before locking the topic: http://www.game-xtreme.com/h3-dungeon-shop AWESOME!
What are you using? And can you hear anything?
EDIT: Oh dear. I made a script error. It's solved now! Pretty, pretty, pretty! All I need still is to hide the controls... using "hidden" somewhere or width="0", height="0"? I owe you big time again, Ange!
EDITTED AND SOLVED! hidden="true" did the trick! The complete code runs as follows now:
- Code:
<audio style="" controls="" autoplay="" loop="" hidden="true"><source src="http://mariomedia.net/music/Nintendo%2064/Banjo-Kazooie/129%20-%20Click%20Clock%20Wood%20%28Spring%29.mp3" type="audio/mpeg" /></audio>
THANKS, ANGE! Check it out before locking the topic: http://www.game-xtreme.com/h3-dungeon-shop AWESOME!
Guest- Guest
Similar topics
» How to Embed a Google Docs Form into an HTML page using HTML Pages Management
» How do I use this HTML?
» Is it possible to have both HTML and CSS on a new HTML page?
» Html help
» HTML
» How do I use this HTML?
» Is it possible to have both HTML and CSS on a new HTML page?
» Html help
» HTML
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum