PierfrancescoSoffritti / android-youtube-player

YouTube Player library for Android and Chromecast, stable and customizable.
https://pierfrancescosoffritti.github.io/android-youtube-player/
MIT License
3.44k stars 765 forks source link

Programmatically not able to load video, it's only supported in XML #1020

Closed Koushik-Paul-AECB closed 1 year ago

Koushik-Paul-AECB commented 1 year ago

Not able to load any YouTube video id dynamically, it's only supporting the video id in XML.

PierfrancescoSoffritti commented 1 year ago

Please refer to the sample app, you can copy the code from there. If you're still having problem feel free to reopen the issue, by providing more info.