Bonjour,
Voila, j'arrive à changer la SRC d'un EMBED (windows media player) mais cela na aucun effet !
Mon code :<select class="input-select" onChange="document.getElementById('playerMs').src=this.value;">
<option value=""></option>
<option value="../download/Video/Interview/news2.asx">news2</option>
<option value="../download/Video/Interview/news3.asx">news3</option>
</select>
<object width="600" height="400">
<param name="QUALITY" value="HIGH">
<param name="BGCOLOR" value="#999999">
<EMBED
id="playerMs" name="playerMs"
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
AUTOSTART="1"
ShowStatusBar="1"
width="600"
height="400"
AutoSize="1"
DisplaySize="0" ShowC."1"
src="../download/Video/Divers/presentation_lfgtr.asx"/>
</object>
Si je fais un alert(playerMs.src)celui-ci est bien modifié mais la video ne change pas ! donc Je suppose qui faut faire un truc pour "reload" le player ou autre.
Merci d'avance, Bye