Can VLC player load without video source ?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
vnggui
Blank Cone
Blank Cone
Posts: 15
Joined: 22 Oct 2014 18:50

Can VLC player load without video source ?

Postby vnggui » 24 Oct 2014 22:00

Hi,

I want to load an empty VLC player and set video source after player loading, but documentation mention (https://wiki.videolan.org/Documentation ... attributes) target (/src/filename/mrl) are required.
Is it possible to set target after the player loaded?


thanks,
vng

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Can VLC player load without video source ?

Postby RSATom » 25 Oct 2014 04:19

yes, it's possible.
https://wiki.videolan.org/Documentation:WebPlugin/

Code: Select all

vlc.playlist.add(mrl); vlc.playlist.play();

vnggui
Blank Cone
Blank Cone
Posts: 15
Joined: 22 Oct 2014 18:50

Re: Can VLC player load without video source ?

Postby vnggui » 27 Oct 2014 17:38

Awesome! this works fine.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests