Embedding VLC into firefox webpage

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
firblazer
New Cone
New Cone
Posts: 8
Joined: 27 Apr 2011 05:58

Embedding VLC into firefox webpage

Postby firblazer » 27 Jul 2011 09:58

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.

VLC.Net
New Cone
New Cone
Posts: 5
Joined: 27 Jul 2011 08:19

Re: Embedding VLC into firefox webpage

Postby VLC.Net » 27 Jul 2011 11:29

remove this:
alert(vlcc.versionInfo());

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: Embedding VLC into firefox webpage

Postby darius » 16 Aug 2011 18:09

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 ?

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: Embedding VLC into firefox webpage

Postby darius » 16 Aug 2011 19:21

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


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 11 guests