brandly / brandly/angular-youtube-embed

Append a div to the player when player goes fullscreen

Open
#147 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
505
Forks
145
PR merge metrics
No merged PRs in 30d

Description

I want to append a div to the player when the player goes fullscreen such that the player alongwith the div is visible on fullscreen. I tried the following:`var iframe = player.getIframe();
iframe.append('

hiiiiiiiiiiiiiiiiiiiiiiiii
');
var requestFullScreen = iframe.requestFullscreen || iframe.mozRequestFullscreen || iframe.webkitRequestFullscreen;
if (requestFullScreen) {
requestFullScreen.apply(iframe)
}`
but nothing happens.
Thanks in advance for any help

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.