Embed rtsp video stream to html page

0blar

Getting the hang of it
Joined
May 17, 2017
Messages
281
Reaction score
34
Hello everybody

I'm using Firefox (v57) on windows 10 and vlc (firefox plugin checked during install) is working on my pc.

I successfully watch on vlc the following stream
Code:
rtsp://user:password@IP/cam/realmonitor?channel=1&subtype=1
of my dahua IPC-HFW5231E-Z12E.

I made this web page following Remote Access/Embed Video Feed On Website - Dahua Wiki.

Here the html code:
Code:
<html>

<body>

<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>

<object
 classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
 codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab"
 id="vlc"
 name="vlc"
 class="vlcPlayer"
 events="True">
  <param name="Src" value="rtsp://user:password@IP/cam/realmonitor?channel=1&subtype=1" /> <!-- ie -->
  <param name="ShowDisplay" value="True" />
  <param name="AutoLoop" value="True" />
  <param name="AutoPlay" value="True" />
  <!-- win chrome and firefox-->
  <embed id="vlcEmb"  type="application/x-google-vlc-plugin" version="VideoLAN.VLCPlugin.2" autoplay="yes" loop="no" width="640" height="480" target="rtsp://user:password@IP/cam/realmonitor?channel=1&subtype=1" ></embed>
</object>

</html>
I put the necessary credentials on this code.

As I'm using the latest firefox, the vlc plugin seems to not work anymore.
I try with palemoon web browser and it works.

Any one can help me to make it works with firefox/chrome browser ?
 
Last edited:

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,746
Reaction score
38,994
Location
Alabama
Firefox has an Extended Support Release ('Firefox 52 ESR') version available that will support NPAPI plug-ins until early 2018. You should try the 32 bit version.
Read more about the reason and what your options are ==>> here<<==.
 
Top