That was a stupid question. The debugger is showing undefined because vlc.playlist.play() doesn't return a value. I've been working to try and get this working so long without any luck, I was grasping at straws. I'm trying to create vlc in the onload event so I can calculate the best width/height. I just get a black window but nothing plays. If anyone sees why the following code won't work in Windows/IE (it does in Linux/Firefox), I'd appreciate a tip.
function makeVLC(theURL) {
document.getElementById('divVideo').innerHTML = '';
var s='';
s = '<object id="VLCIE" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" '
s = s + 'codebase="
http://downloads.videolan.org/pub/video ... /axvlc.cab"'
s = s + 'version="VideoLAN.VLCPlugin.2" '
s = s + 'width="' + vidWidth + '" height="' + vidHeight + '" '
s = s + 'events="True">'
s = s + '<param name="MRL" value="' + theURL + '"/>'
s = s + '<param name="ShowDisplay" value="true" />'
s = s + '<param name="autoLoop" value="true"/>'
s = s + '<param name="autoPlay" value="true"/>'
s = s + '<embed type="application/x-vlc-plugin" '
s = s + 'width="' + vidWidth + '" height="' + vidHeight + '" '
s = s + 'autoplay="yes" loop="yes" '
s = s + 'id="VLC" '
s = s + 'pluginspage="
http://www.videolan.org" version="VideoLAN.VLCPlugin.2" '
s = s + 'target="' + theURL + '" '
s = s + '>'
s = s + '</embed>'
s = s + '</object>'
document.getElementById('divVideo').innerHTML = s;
}