Page 1 of 1

WebPlugin: Removing Video URL shown in white

Posted: 01 Sep 2010 23:02
by TiagoDias
Hi there,

I'm using VLC in IE to stream an rtsp stream.
Once loaded VLC shows a white label with the rtsp url, like this http://screencast.com/t/ZmM0MTc5, that after a bit dimms away.
Is it possible to avoid this with a property?

I searched the API documentation at http://wiki.videolan.org/Documentation:WebPlugin but didn't find a solution.
I'm using version 1.0.5.

The code used is below:

Code: Select all

<html> <title>VLC plugin test page</title> <body> <OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="704" height="576" id="vlc" events="True"> <param name="Src" value="rtsp://10.10.9.166:8554/h264LiveVideoTest" /> <param name="ShowDisplay" value="True" /> <param name="AutoLoop" value="False" /> <param name="AutoPlay" value="True" /> <EMBED pluginspage="http://www.videolan.org" type="application/x-vlc-plugin" progid="VideoLAN.VLCPlugin.2" width="704" height="576" autoplay="yes" loop="no" target="rtsp://10.10.9.166:8554/h264LiveVideoTest" name="vlc"> </EMBED> </OBJECT> </body> </html>

Re: WebPlugin: Removing Video URL shown in white

Posted: 02 Sep 2010 02:57
by Ilasir
You want the ":no-video-title-show" option.

Re: WebPlugin: Removing Video URL shown in white

Posted: 06 Sep 2010 12:38
by TiagoDias
Is there any way to define the options without javascript/directly in the HTML object/embed element?

I only found the playlist way to set stream options:

var options = new Array('no-video-title-show', '--rtsp-tcp');
var targetURL = 'rtsp://10.10.9.166:8554/h264LiveVideoTest';
vlc.playlist.items.clear();
vlc.playlist.add(targetURL, 'VIDEO', options);
// do something else, calling vlc.playlist.play() here will pop-out vlc player window (possible vlc race condition)...
vlc.playlist.play();