videoPlayer external URL

Is it possible to get the videoPlayer to play a video from an external source…
I have tried this code, but it does not work.

export function button_click() {
$w(’ #videoPlayer1 ').src = ’ https://www.youtube.com/watch?v=dQw4w9WgXcQ '; }

I know it is possible with the other player (video) using videoUrl, but I would like to use the videoPlayer as it has more functionality.

Thanks

???

???

@yisrael-wix ?
@agill407 ?

You will need to use the Video component for Youtube videos as they are handled differently by the Youtube system.