html code script ipcam to website

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
laroyj
New Cone
New Cone
Posts: 1
Joined: 24 Apr 2017 08:50

html code script ipcam to website

Postby laroyj » 24 Apr 2017 08:57

i try to put my rtsp stream into code for my website, but it's only working for internet explorer, not for other browsers.... any solution ?
...on ipcamlive.com they can change it to an iframe code, i test it, its working, but i have to pay for it....


<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width="640" height="480" id="vlc" events="True">
<param name="Src" value="rtsp://stream:stream1@4c11bfabc52e.dahuaddns.com:554/cam/realmonitor?channel=1&subtype=1" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<embed id="vlcEmb" type="application/x-google-vlc-plugin" version="VideoLAN.VLCPlugin.2" autoplay="yes" loop="no" width="640" height="480"
target="rtsp://stream:stream1@4c11bfabc52e.dahuaddns.com:554/cam/realmonitor?channel=1&subtype=1" ></embed>
</OBJECT>

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: html code script ipcam to website

Postby da2424 » 27 Apr 2017 23:42

Try it with the following code, it's compatible with all browsers:

Code: Select all

<embed type="application/x-vlc-plugin" witdh="640" height="480" src="rtsp://stream:stream1@4c11bfabc52e.dahuaddns.com:554/cam/realmonitor?channel=1&subtype=1" autoloop="false" autoplay="true" />


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 5 guests