Page 1 of 1

Can VLC player load without video source ?

Posted: 24 Oct 2014 22:00
by vnggui
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

Re: Can VLC player load without video source ?

Posted: 25 Oct 2014 04:19
by RSATom
yes, it's possible.
https://wiki.videolan.org/Documentation:WebPlugin/

Code: Select all

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

Re: Can VLC player load without video source ?

Posted: 27 Oct 2014 17:38
by vnggui
Awesome! this works fine.