Skip to content

Append a div to the player when player goes fullscreen #147

@aashkafirst

Description

@aashkafirst

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('<div style="color:green;">hiiiiiiiiiiiiiiiiiiiiiiiii</div>'); var requestFullScreen = iframe.requestFullscreen || iframe.mozRequestFullscreen || iframe.webkitRequestFullscreen; if (requestFullScreen) { requestFullScreen.apply(iframe) }
but nothing happens.
Thanks in advance for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions