How to have player play youtube link

Im working on a music streaming app using firebase right now and using a drive file extension that allows me to play downloaded drive files I have uploaded to firebase. The audio works but the video size is too big to play the video so I decided to use an extension that downloads the thumbnail from a youtube video but it doesn’t download the thumbnail since I am using drive files. Is there any way to either set my player so it can play youtube links or any way to automatically download a thumbnail from the drive file.

You should ask this in the forum of the builder you are using. - appinventor