After installing flvlc,I tried the following:
Code: Select all
console.log("VLC plugin version: " + vlc.vlcVersion);
... which returned undefined:
LOG: VLC plugin version: undefined
This is how I'm getting the VLC plugin instance:
Code: Select all
function getVLC(name) {
if (window.document[name]) {
return window.document[name];
}
if (navigator.appName.indexOf("Microsoft Internet") == -1) {
if (document.embeds && document.embeds[name])
return document.embeds[name];
}
else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
{
return document.getElementById(name);
}
return null;
}
var vlc = getVLC('vlc-player'); // where 'vlc-player' is the ID
Let's say we get this working in IE. How do you make it the default suggested plugin to install if not installed? Even with fbvlc installed, the plugin location still points to VLC, doesn't it?
Code: Select all
object id="vlc-player" type="application/x-fb-vlc" width="352" height="288" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" windowless="true"
codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
Lastly, in Chrome, I have the following plugin enabled:
FireBreathed VLC - Version: 0.0.4
VLC Web Plugin (powered by FireBreath)
However the video does not appear.