Playing .wav file using EMBED tag object 
Author Message
 Playing .wav file using EMBED tag object

Hello,

I am trying to play .wav file in a HTML.  The object is
created on the page using <EMBED> tag.  Since, my page has
it's own UI, the media control is hidden so, we control
playing and stopping of the .wav file in html using
javascript.  I noticed that while playing the .wav file,
the local wave volume setting on the PC is changed.  I
believe this is something to do with settings stored
inside  the .wav file.  

During Page unload, we stop playing the wav file using
object.Stop() command and this does not restore the volume
to it's original setting (i.e.) before playing the wav
file.  But surprisingly, if I enable (make it visible) the
EMBED control and use the stop button then, the wav volume
setting is restored.  It seems like if we call Stop()
method from Javscript the wav volume setting does not get
restored but, we do it using the media control "STOP"
button then, everything works OK.

Am I doing something wrong ? or Is there any other command
which can do the same job as the "STOP" on the media
control?

Thanks in advance.

Swamy



Sun, 17 Oct 2004 01:54:54 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Is it possible to Play and close a wav file using Soundrec32.exe

2. .vbs file to play a .wav if file size does not equal 0

3. Playing a .wav File from a .vbs File

4. Embedded icons using the OBJECT-tag

5. Playing a WAV file in VBscript

6. Need Help Playing WAV File

7. PLaying multiple .WAV files when page loads

8. Best way to play wav-files with WSH

9. Playing WAV files

10. How to play *.WAV files

11. Delaying in Playing WAV Files with Windows Media Player 9

12. Create a new .wav file from an existing .wav file based on the date

 

 
Powered by phpBB® Forum Software