fullscreen a youtube video with an HTML vgui element

I am making an addon similar to playx, and i was wondering if there is a way to full screen a video in an html panel. If not, how can i make it to where I can show a video using cam.3d2d to where it looks full screened?

Make html panel full screen and use embed player code so it scales to the html panel size.

I tried using the SetHTML with it’s embed code and youtube’s auto-fullscreen feature, neither worked.

edit: it detects that there is an iframe there, but the video itself does not show up, although it does if I just open it with it’s normal url (not full screened)

edit: okay, nvm, I used a different way for embedding and it worked, thank you