Objekt MPlayer pfad über java zuweisen
Marcel S.
- browser
Hallo,
ich habe das Problem einem MPlayer-Objekt einen Pfad dynamisch zuzuweisen. Das zuweisen funktioniert mit folgendem Script im Firefox problemlos. Nur im IE werden mir folgende Fehlermeldungen angezeigt:
"Object doesn't support this property or method"
Weis jemand eine Lösung bzw. was habe ich falsch gemacht?
Danke Marcel S.
JAVA---------------------------------------------
VideoPath = "http://media.egal.de/video/2006/11/08/07/v0811060702.wmv.asx";
varVideoDivImg = document.all.VideoDivImg;
varVideoDivImg.src = VideoPath;
varVideoDivPara = document.all.VideoDivPara;
varVideoDivPara.VALUE = VideoPath;
---------------------------------------------
OBJEKT---------------------------------------------
<OBJECT id=MMPlayer1 codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 width=400 height=400 type=application/x-oleobject standby="Lade Microsoft Windows Media Player Komponenten...">
<PARAM id="VideoDivPara" NAME="FileName" VALUE="" >
<EMBED TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/default.asp" id=VideoDivImg src="" name=MMPlayer1 autostart=1 showcontrols=0 showdisplay=0 showstatusbar=1 defaultframe="Slide" width=400 height=400></EMBED>
</OBJECT>
---------------------------------------------