hi bro, try the following https://www.c-sharpcorner.com/article/youtube-player-api-in-android-using-kotlin/