• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

playing audio from HTML

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I was a software developer; now a stay at home mom for my kid. I am trying to develop a web page for my kid for him to learn different stuffs. Eventually, I would like to put it in the web so that other kids can use it.
As it is for kids, it involves lot of audios. For example, 1 page has a lot of flag images and when each flag is clicked, the kid gets to hear the country name.

My question is
1. Is it possible to make the sound without opening a media player. If
so how?
I cannot use <embed > because, i want the sound when the flag is
clicked not when the play button in the embed image is clicked.

2. Due to lot of audio files, will it take the page a long time to load?
if so, how to make it efficient?

Please guide me in this.

Regards,
Jay.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may find an answer here:
http://www.irt.org/script/sound.htm

Eric
 
Jay Ram
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Eric. You are always a big help to everybody here.

I'll try the things suggested in the page.

Regards,
Jay.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found Mark Huckvale's Demonstration of Different ways to Play a Sound from a Web Page very useful.
 
Jay Ram
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Excellent Link Alan.

Thanks for your time.

Regards,
Jay.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic