"x-oleobject"? Why?
This code works fine for me in both IE8
and FF 3.whateverthenewestis. It
does not work in Google Chrome.
<html>
<head>
<title>VLC Multiple Players</title>
<script type="text/javascript">
function play()
{
vlc.playlist.playItem(0);
}
function play1()
{
vlc1.playlist.playItem(0);
}
</script>
</head>
<body>
<!--[if IE]>
<object type="application/x-vlc-plugin" pluginspage="
http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" id="vlc" width="320px" height="240px"
events="true" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" >
<param name="mrl" value="video.ext" />
<param name="volume" value="50" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
<param name="fullscreen" value="false" />
</object>
<![endif]-->
<!--[if !IE]><!-->
<object type="application/x-vlc-plugin" pluginspage="
http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" id="vlc" events="true" width="320px" height="240px" >
<param name="mrl" value="video.ext" />
<param name="volume" value="50" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
<param name="fullscreen" value="false" />
</object>
<!--<![endif]-->
<!--[if IE]>
<object type="application/x-vlc-plugin" pluginspage="
http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" id="vlc1" autoplay="true" width="320px" height="240px"
events="True" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" >
<param name="mrl" value="video.ext" />
<param name="volume" value="50" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
<param name="fullscreen" value="false" />
</object>
<![endif]-->
<!--[if !IE]><!-->
<object type="application/x-vlc-plugin" pluginspage="
http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" id="vlc1" events="True" width="320px" height="240px" >
<param name="mrl" value="video.ext" />
<param name="volume" value="50" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
<param name="fullscreen" value="false" />
</object>
<!--<![endif]-->
<input type="button" onclick="play()" value="play" />
<input type="button" onclick="play1()" value="play1" />
</body>
</html>
For the record, it works with x-oleobject, too.
ETA: I've tested the code
you gave, and it works for me as well.