Hello
With :
- windows media player 9 (not realplayer)
- sound files Snd.wma (not snd.ra)
- Netscape7 (not ie6)
what I have to write
in the change() function, to change the sound ?
function change(str)
{
document.player.src = str; // does not work
document.player.play(); // does nor work
}
<embed type="application/x-mplayer2"
src=""
name="player"
width=490
height=45
autostart=1
showcontrols=1
loop=1>
</embed>
<input type=button value='?' onClick=change('snd.wma');>
Avec mes remerciements anticipes.
Anticipate thanks. jackyn
With :
- windows media player 9 (not realplayer)
- sound files Snd.wma (not snd.ra)
- Netscape7 (not ie6)
what I have to write
in the change() function, to change the sound ?
function change(str)
{
document.player.src = str; // does not work
document.player.play(); // does nor work
}
<embed type="application/x-mplayer2"
src=""
name="player"
width=490
height=45
autostart=1
showcontrols=1
loop=1>
</embed>
<input type=button value='?' onClick=change('snd.wma');>
Avec mes remerciements anticipes.
Anticipate thanks. jackyn