Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlay html in fullscreen #929

Closed
catalinux opened this issue Jan 7, 2014 · 1 comment
Closed

Overlay html in fullscreen #929

catalinux opened this issue Jan 7, 2014 · 1 comment
Labels

Comments

@catalinux
Copy link

Hi,

I need to show some html content overlay ed over the video, when the movie finishes. Everything is Ok, except in full-screen, where the overlay-ed html is not seen , goes under the video.

I am using Chrome. Is there any solutions or plugin for that?

@heff
Copy link
Member

heff commented Jan 7, 2014

If you put the content inside the player's containing div, it should continue to be visible in fullscreen mode.

var myPlayer = videojs('my_id').ready(function(){
  var player = this;

  player.el().appendChild(CUSTOM_ELEMENT_HERE);

});

@heff heff closed this as completed Jan 7, 2014
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants