VLC plug-in missing
Posted: 08 Feb 2014 19:24
Hi all,
I have a web page that plays rtsp links. I am using vlc embedded plugin to play the streams.
The problem I have is that if the viewer hasnĀ“t got vlc installed the browser shows a message saying there is no plug-in to show this element.
Is there any way to show what plug-in is missing or an option to install the plug-in?
Thank you.
I have a web page that plays rtsp links. I am using vlc embedded plugin to play the streams.
Code: Select all
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="400" height="300" id="vlc" events="True">
<param name="ShowDisplay" value="True" ></param>
<param name="Volume" value="100" />
<param name="AutoLoop" value="no"></param>
<param name="AutoPlay" value="yes"></param>
<embed type="application/x-google-vlc-plugin" name="vlcfirefox" autoplay="yes" loop="no" width="400" height="300" target="rtsp://<publicIp>:8554/stream"></embed>
</object>
<script type='text/javascript'>
window.onload = function(){
var vlc = document.getElementById('vlc');
vlc.playlist.playItem( vlc.playlist.add("rtsp://<publicIP>:8554/stream", "live", ":network-caching=150") );
};
</script>
The problem I have is that if the viewer hasnĀ“t got vlc installed the browser shows a message saying there is no plug-in to show this element.
Is there any way to show what plug-in is missing or an option to install the plug-in?
Thank you.