VLC plug-in missing

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
NailsML
New Cone
New Cone
Posts: 3
Joined: 25 Jan 2014 12:32

VLC plug-in missing

Postby NailsML » 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.

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC plug-in missing

Postby Jean-Baptiste Kempf » 11 Feb 2014 17:57

You should do that in JS.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 16 guests