How do I embed VLC with public RTSP address in website

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
wilecoyte
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2019 01:18

How do I embed VLC with public RTSP address in website

Postby wilecoyte » 23 Feb 2019 01:29

I have a website built with Sitebuilder (I can use HTML or cut and paste/drop and drag). I have a webcam with a live feed that I would like to embed into my website with the VLC player so that anyone can view it at anytime without my computer being on. I have the public rtsp address (i.e. rtsp://ipaddress:port/profile5/media.smp) which works when I use it on my computer's VLC player. How would I go about entering into my website the code to show the live feed of my webcam directly on my webpage? I'm assuming I need to add code to embed VLC player, then somehow add code to play the rtsp address. I have intermediate computer knowledge and basic HTML knowledge.

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

Re: How do I embed VLC with public RTSP address in website

Postby da2424 » 26 Feb 2019 22:08

Hi,
this documentation should help you with your project: https://wiki.videolan.org/Documentation:WebPlugin
In the section "Playlist object", you can find a code example how you can play rtsp streams.

wilecoyte
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2019 01:18

Re: How do I embed VLC with public RTSP address in website

Postby wilecoyte » 01 Mar 2019 01:43

I had previously seen that page and attempted to embed the html as seen and when published I got a 404 error. It is very confusing what EXACTLY I am supposed to be html entering to get the livestream to play live on the website. Here are the exact codes I tried and did not work:
1) <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" /rtsp://admin:509@184.167.254.105:554/profile5/media.smp>
2) <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://download.videolan.org/pub/videol ... /media.smp>


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 32 guests