Although Netscape and IE support playback of audio files, it still encounters such a problem during the production process: If you play with hidden methods, the user without sound card is wrong, affecting the overall effect of the home page. The audio player that is easy to control the user control and gives the page into a good way. The method of self-editing the audio player with JavaScript is described in detail below. 1. Netscape audio player 1) Open NetScape support. MID, .mid, .mid, .mid, .mid, .mid, .mid, you can open the above file directly in your browser, open the player window as shown below and automatically play once , Continue playing with the "Play" button. 2) Program calls In the homepage file you can embed the following audio console to implement the automatic loop playback of the audio file in the hidden mode:
The list is as follows:
audio player title> 90 )) {document.firstSound.setvol (100);}}} functionvoldown () {currentVolume = document.firstSound.GetVolume (); newvolume = (currentVolume-10); if (document.firstSound.GetVolume () == 0) {Alert ("Volume has reached minimum");} if (newvolume> 0) {document.firstsound.setVol (newvolume);} else {if ((NewVolume> = 0) && (newvolume <10)) {document. FirstSound.Setvol (0);}}} // endofjavascriptcode -> < / Script> head>