I have an application that can play online radios with the Windows Media Player. Now I wanted to add Youtube as a source aswell (videos only). I couldn't really find anything regarding to this. If it does not work with the WMP I am also free for any other ways.
What I tried so far was setting the URL of the WMP to the following values:
https://www.youtube.com/watch?v=IDhttps://www.youtube.com/v/ID
Both of them without any success.
Note: I only need the audio not the video itself.