simple youtube player

This forum is about all development around libVLC.
MikOfClassX
Blank Cone
Blank Cone
Posts: 48
Joined: 29 Dec 2018 10:23

simple youtube player

Postby MikOfClassX » 24 Apr 2019 10:06

Hello,

is there a simple youtube player example src around ?

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: simple youtube player

Postby unidan » 24 Apr 2019 14:19

Hi, just take any player example, and be sure to have the lua module and its youtube script ;)

MikOfClassX
Blank Cone
Blank Cone
Posts: 48
Joined: 29 Dec 2018 10:23

Re: simple youtube player

Postby MikOfClassX » 28 Apr 2019 12:18

Eh, ok.. It seems it's not loading the lua module. I'm using 3.06, 3.07b.
The modules are in the right place, so .. I did not find any reason why it's not working.
Need I set a path var ?

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: simple youtube player

Postby unidan » 29 Apr 2019 12:33

If you're using dynamic loading of modules, you have to set the module path if not already done. Check VLC_PLUGIN_PATH environment variable

MikOfClassX
Blank Cone
Blank Cone
Posts: 48
Joined: 29 Dec 2018 10:23

Re: simple youtube player

Postby MikOfClassX » 29 Apr 2019 18:03

No luck with any youtube src url.
(anyway it works perfectly by using the video url "Path:" I get from the log).

Here's the log of "www.youtube.com/watch?v=2B-XwPjn9YY"

https://jpst.it/1HVth

--


Return to “Development around libVLC”

Who is online

Users browsing this forum: Google [Bot] and 9 guests