Embed VLC player in website to play rtsp stream

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
42RoadAm
New Cone
New Cone
Posts: 2
Joined: 07 Oct 2010 05:19

Embed VLC player in website to play rtsp stream

Postby 42RoadAm » 07 Oct 2010 15:36

Total newby here, so please for give my ignorance :) Looking for the best and simplest way to embed a VLC player onto website to play a rtsp live feed. Looked into Realplayer at QT, but they don't have a fabulous group such as here :wink:
My latest attempt was..
<embed type="application/x-vlc-plugin" height="240" width="320" name="VLC" autoplay="yes" loop="no" volume="100" target="rtsp://98.103.187.124:554/live.sdp"><a onclick='document.video1.play()' href="javascript:;">Play</a> <a onclick='document.video1.pause()' href="javascript:;">Pause</a> <a onclick='document.video1.stop()' href="javascript:;">Stop</a> <a onclick='document.video1.fullscreen()' href="javascript:;">Fullscreen</a> </embed>

I can play the rtsp feed in a local instance of VLC without a problem but all I get with this is a box with what looks like the symbol when a picture can't download. I assume I need to "install" the VLC player somewhere on my webserver?? so the player has a reference. Who knows, maybe the code I found for above is junk and I should be using something else. All I need is simple code for a player to view a live rtsp stream. If anyone can help me out it is so much appreciated!!

Thanks
Jason

Rémi Denis-Courmont
Developer
Developer
Posts: 15326
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Embed VLC player in website to play rtsp stream

Postby Rémi Denis-Courmont » 07 Oct 2010 17:13

You need to install the VLC browser plugin in the client browser.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

42RoadAm
New Cone
New Cone
Posts: 2
Joined: 07 Oct 2010 05:19

Re: Embed VLC player in website to play rtsp stream

Postby 42RoadAm » 08 Oct 2010 00:15

Where can I find the HTML in dummy format :D


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 47 guests