Search code examples
androidyoutubestreamandroid-mediaplayervlc

Unable to stream YouTube Url in VLC android


I have already integrated VLC player in my android app in Linux environment.But now the issue is when i try to play the YouTube link .It Unable to stream the YouTube URL and the concerned g-data ".3gp" URL.The error is mentioned below.

"http://www.youtube.com/watch?v=oq1gNicFkeM can not be played." in Toast.

Does anyone have any idea on the same?


Solution

  • VLC for Android does not support the lua plugins needed to parse the YT URL.

    You need to parse the HTML layout yourself (and feed the resulting URL to VLC) or add support for lua plugins to VLC for Android to solve this issue.