Page 1 of 1

Embedding VLC into firefox webpage

Posted: 27 Jul 2011 09:58
by firblazer
Hi! I am trying to embed vlc into windows firefox only. I have successfully installed it in windows 7 but I could not reproduce the same result in windows XP. I am using Firefox 5.0.1.

I am trying to play a multicast stream from ip: 192.168.1.184 from Axis Camera.

Here is my code:

Code: Select all

<!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <embed target="rtsp://192.168.1.184:554/axis-media/media.amp" type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="640" height="480" id="vlc" autoplay="yes" name="player" ></embed> <script type="text/javascript"> var vlcc = document.getElementById("vlc"); alert(vlcc.versionInfo()); </script> </body> </html>
But the problem is: the video does not play. It shows a blank screen. And the Javascript error console says: "vlcc.versionInfo is not a function".

I have copied npvlc.dll and npvlc.dll.manifest into C:\Program Files\Mozilla Firefox\Plugins and restarted firefox. In my Add-ons Manager, plugins manager in firefox also shows "VLC Multimedia Plugin version 1.1.11"

But I can't play the video. Can anyone help? Thanks.

Re: Embedding VLC into firefox webpage

Posted: 27 Jul 2011 11:29
by VLC.Net
remove this:
alert(vlcc.versionInfo());

Re: Embedding VLC into firefox webpage

Posted: 16 Aug 2011 18:09
by darius
I am just testing the above webpage and plugin, but, what is an exact web link to vlc plugin on webpage of videolan , manual installation required,
since FF 5.0.1 can't find vlc plugin on itself .


I would like to stream video from webcam and access video stream remotely (locally first).

Since vlc is streaming video from webcam to a file, I can open that file locally in Firefox and watch video stream, unfortunately video file grows in size
and delay is replaying webcam video is a problem.

So I would like vlc top stream video from webcam to small video file buffer only, not recording full stream.

Than to have Firefox vlc plugin to play that stream, coming with all controls.

Any idea ?

Re: Embedding VLC into firefox webpage

Posted: 16 Aug 2011 19:21
by darius
follow-up

VLC for Windows is not coming with installer
http://www.videolan.org/doc/play-howto/en/ch04.html

Firefox vlc plugin is not coming from webpage of videolan.org

VideoLAN.VLCPlugin.2 is not available