How to hide URL when playing a streaming video?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
socialjazz
Blank Cone
Blank Cone
Posts: 17
Joined: 19 May 2009 09:14

How to hide URL when playing a streaming video?

Postby socialjazz » 19 May 2009 09:19

Is there any Options I can set to hide the URL from showing at the bottom of the screen whenevery i play an online streaming video?

I am using 0.99 VLC activeX

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: How to hide URL when playing a streaming video?

Postby thannoy » 19 May 2009 13:18

It should be doable through vlc.playlist.add(URL, name, option) JS call. There are two methods:

1- set a blank name

Code: Select all

vlc.playlist.add(url, " ", options);
2- ask to not show this title

Code: Select all

vlc.playlist.add(url, name, ":no-video-title-show");
The second form looks like nicer, but it will not work with VLC 0.9.9 I think. Should work again in 1.0.0, and even be the default maybe for the ActiveX.

dave_c_uk
Blank Cone
Blank Cone
Posts: 24
Joined: 11 Jun 2009 19:57

Re: How to hide URL when playing a streaming video?

Postby dave_c_uk » 10 Mar 2010 11:34

That worked fine (I combined both options so that it was

vlc.playlist.add(url, " ", ":no-video-title-show");

Worked great, thanks for your help!

mkingsberry
New Cone
New Cone
Posts: 3
Joined: 25 Mar 2010 15:07

Re: How to hide URL when playing a streaming video?

Postby mkingsberry » 25 Mar 2010 18:26

Thanks and it looks like this is what I want but what am I doing wrong?

Code: Select all

<html> <head><title>Embedded VLC Player</title></head> <body> <script language="JavaScript" type="text/javascript"> myVLC = document.getElementById("vlc"); myVLC.playlist.add(url, " ", ":no-video-title-show"); </script> <OBJECT classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8" codebase="c:\Program Files\VideoLAN\VLC\axvlc.dll" width="1200" height="900" id="vlc" events="True"> <param name="Src" value="udp://@225.220.200.186:54468" /> <param name="ShowDisplay" value="false" /> <param name="AutoPlay" value="true" /> </OBJECT> </body> </html>

johnmcf
New Cone
New Cone
Posts: 1
Joined: 11 Jun 2010 19:10

Re: How to hide URL when playing a streaming video?

Postby johnmcf » 11 Jun 2010 19:13

I tried the above code also to no avail :(

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

Re: How to hide URL when playing a streaming video?

Postby Ilasir » 12 Jun 2010 01:27

No, you actually need to put the url in the .add() call:

myVLC.playlist.add("udp://@225.220.200.186:54468", "", ":no-video-title-show");

and then: src=""


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 1 guest