I'm trying to put the VLC plugin in a div in Windows and Linux. It works on Linux in Firefox. In Windows, when I set autoPlay to true it launches multiple windows, the titles say:
Direct 3D output
YUV SDL output
YUV overlay DirectX output
VLC Colour AsCii Art
Can someone tell me what the heck is going on??.. and how to make it play in the black window that's supposed to be VLC plugin?
The code I'm using is:
function makeVLC(theURL) {
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 + '>'
s = s + '<param name="src" value="' + theURL + '"/>'
s = s + '<param name="showDisplay" value="true" />'
s = s + '<param name="autoLoop" value="false"/>'
s = s + '<param name="autoPlay" value="true"/>'
s = s + '<embed type="application/x-vlc-plugin" '
s = s + 'width="' + vidWidth + '" height="' + vidHeight + '" '
s = s + 'autoplay="no" loop="no" '
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;
}