We have an RTSP server streaming H.264 video and I have embeded VLC plugin on a page to play RTSP stream but there is no result, So i need help
<embed
id=“vlc”
name=“vlc”
type=“application/x-vlc-plugin”
pluginspage=“http://www.videolan.org” version=“VideoLAN.VLCPlugin.2”
width=440 height=280
autoplay=“yes”
enablejavascript=“true”
target=“rtsp://user:pass@host:1111/videoMain”
align=center />
var vlc = document.getElementById("vlc"); console.log(vlc.playlist) var options = new Array(":aspect-ratio=4:3", "--rtsp-tcp"); var id = vlc.playlist.add("rtsp://user:pass@host:1111/videoMain", "camera", options); vlc.playlist.playItem(id); vlc.playlist.play();