<iframe id="ytplayer" type="text/html" width="400" height="225"
src="https://www.youtube.com/watch?v=0Y8oEKK1Iy8"
frameborder="0" allowfullscreen></iframe>Hi Stefan,
Yes. I actually figured out how make the fullscreen button show up. However, it seems like clicking the fullscreen button within YouTube video element makes the popup go out of focus and exits the video automatically. Is there a way to play the video even when the popup is destroyed?
Taehoon
Hi Stefan,
That's similar to the approach I was thinking. So currently, there's no way for the fullscreen button inside an embedded youtube to work naturally using <iframe> or <object> tags?
Thanks,
Taehoon
Additionally, is there a security risk behind including Public API Key for browser applications that you get from Google Developer Console credentials? I immediately assumed that "public" means it is safe to publish it on public repositories and javascript files.
Hi Stefan,
I've tried embedding the video in "background.html" and display it on "popup.html" via javascript. Since "background.html" is not for display, this approach did not work for me. However, I was able to persist the video's audio. For now, I am fine with displaying the video on fullscreen on a new tab.
Additionally, is there a security risk behind including Public API Key for browser applications that you get from Google Developer Console credentials? I immediately assumed that "public" means it is safe to publish it on public repositories and javascript files.
Thank you for your help!
Taehoon