WebPlugin: Removing Video URL shown in white

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
TiagoDias
New Cone
New Cone
Posts: 5
Joined: 01 Sep 2010 22:54

WebPlugin: Removing Video URL shown in white

Postby TiagoDias » 01 Sep 2010 23:02

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>

Ilasir
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 14 Apr 2010 18:57

Re: WebPlugin: Removing Video URL shown in white

Postby Ilasir » 02 Sep 2010 02:57

You want the ":no-video-title-show" option.

TiagoDias
New Cone
New Cone
Posts: 5
Joined: 01 Sep 2010 22:54

Re: WebPlugin: Removing Video URL shown in white

Postby TiagoDias » 06 Sep 2010 12:38

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();


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests