Hi!
The code below works fine in IE8, but in IE9 the actual player is missing. The sounds&controls work, but no vid. What has changed? ActiveX plugin is local.
<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metacontent="text/html; charset=utf-8"http-equiv="Content-Type"/><title>Vids</title><linkhref="main.css"rel="stylesheet"type="text/css"/></head><body><divid="player"><objecttype="application/x-vlc-plugin"id="vlcplayer"width="864px"height="540px"classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"><paramname="Volume"value="100"/><paramname="AutoPlay"value="true"/><paramname="AutoLoop"value="false"/></object></div><divid="controls"><inputtype="button"onclick="play();"value="Play"/><inputtype="button"onclick="pause();"value="Pause"/><inputtype="button"onclick="stop();"value="Stop"/><inputtype="button"onclick="mute();"value="Mute"/></div><h1>My vids</h1><ol><li><ahref="javascript:;"onclick='player("Vid1.flv");'>Click a vid!</a></li></ol><scripttype="text/javascript"language="javascript">var vlc = document.getElementById("vlcplayer");function player(vid) {try {var options = new Array(":aspect-ratio=16:10", "--rtsp-tcp", ":no-video-title-show");var id = vlc.playlist.add(vid,'Video',options); vlc.playlist.playItem(id); vlc.video.fullscreen = true;//vlc.video.toggleFullscreen(); }catch (ex) { alert(ex); } }function mute(){ vlc.audio.toggleMute(); }function play(){ vlc.playlist.play(); }function stop(){ vlc.playlist.stop(); }function pause(){ vlc.playlist.togglePause(); } function fullscreen(){ vlc.video.toggleFullscreen(); }</script></body></html>