Play Youtube videos in JVLC

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
marcsto
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Sep 2008 15:27

Play Youtube videos in JVLC

Postby marcsto » 15 Dec 2008 11:18

Hello,

I noticed that, when using VLC through it's normal interface, I can select 'Media' 'Open Network...' and pass in a youtube url to have the video play automatically in VLC.

I'm trying to get the same mechanism to work in my application which communicates to libvlc through JVLC. I was hoping it would be as simple as creating a MediaDescriptor with a url instead of a file name, but unfortunately this hasn't worked (as well as several variations of this). Would anyone happen to know how I could get a network stream such as youtube to work in JVLC? Is there a particular command line parameter that must be passed to vlc in order for this to work, or should I be using a different object other than MediaDescriptor or Playlist?

Thanks,
Marc

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Play Youtube videos in JVLC

Postby Jean-Baptiste Kempf » 15 Dec 2008 11:30

What are the messages?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

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