I've been using VLC plugin prior to this version to play RTSP streams from multiple IP cameras in a HTA Applications (is using Internet Explorer libraries).
From version 3.0 the JavaScript code didn't work anymore. Is there any documentation how to do this?
I've found this, but nothing related to version 3.0
https://wiki.videolan.org/ActiveX/
https://wiki.videolan.org/ActiveX/HTML/
https://wiki.videolan.org/Documentation:WebPlugin/
<OBJECT ID="VLC_OBJ" TYPE="application/x-vlc-plugin" CLASSID="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" WIDTH="379" HEIGHT="213" EVENTS="True">
<PARAM NAME="MRL" VALUE="rtsp://10.1.1.12/stream1">
<PARAM NAME="Version" VALUE="VideoLAN.VLCPlugin.2">
<PARAM NAME="Visible" VALUE="True">
<PARAM NAME="AutoPlay" VALUE="True">
<PARAM NAME="AutoLoop" VALUE="True">
<PARAM NAME="Toolbar" VALUE="False">
<PARAM NAME="Volume" VALUE="0">
</OBJECT>
<SCRIPT LANGUAGE="Javascript">
var vlc = document.getElementById("VLC_OBJ");
vlc.audio.Volume=0;
vlc.audio.Mute=true;
vlc.video.aspectRatio="16:9";
[...]
vlc.video.takeSnapshot()
vlc.video.toggleFullscreen()
vlc.playlist.play()
vlc.playlist.togglePause()
</SCRIPT>
Also how can I use "transform" video filter to "hflip" or rotate the video (In any VLC version, if is supported)?
I've tried styles, url options, but nothing seems to work.
Thanks!var options = [":video-filter=transform", ":transform-type=hflip"];
vlc.playlist.stop();
vlc.playlist.clear();
vlc.playlist.add(URL, "", options);
vlc.playlist.play();
OR
vlc.style.transform="rotate3d(1,2,1, 90deg)";
vlc.style.msTransform ="rotate(90deg)"; //IE
vlc.style.webkitTransform="rotate3d(1,2,1, 90deg)";