Page 1 of 1

Embed VLC player in website to play rtsp stream

Posted: 07 Oct 2010 15:36
by 42RoadAm
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

Re: Embed VLC player in website to play rtsp stream

Posted: 07 Oct 2010 17:13
by RĂ©mi Denis-Courmont
You need to install the VLC browser plugin in the client browser.

Re: Embed VLC player in website to play rtsp stream

Posted: 08 Oct 2010 00:15
by 42RoadAm
Where can I find the HTML in dummy format :D