Google-chrome – Chrome HTML5 maximized video full tab not fullscreen

fullscreengoogle-chromehtml5video

I'm using Google Chrome and a few weeks ago, when I watched a YouTube HTML5 video and pressed the fullscreen button, it maximized the video to the full browsing window ("fullscreen tab"). Then I was able to really make it fullscreen by pressing F11. Since a few days, when pressing the fullscreen button, Chrome maximizes the video to fullscreen directly. Since I often have my browser window aligned to the right site of the screen and still want to see "fullscreen tab" videos, I want the old behaviour back.

Long story short: I want Chrome to maximize HTML5 videos to full tab size (with possibility to go fullscreen with F11), not fullscreen per se. Sidequestion might be, if that's Chrome specific behaviour or even YouTube's.

Best regards

Tobias

Best Answer

It's very unlikely that it will rollback to the previous behavior since so many developers have been begging for the 'real' fullscreen behavior.

If you want to solve your particular case you can create a bookmarlet or browser extension with something like:

document.body.addEventListener('click', function(e) {
  var target = e.target;
  if (target.nodeName == 'VIDEO') { // or EMBED
    target.style.position = 'absolute';
    target.style.width = '100%';
    target.style.height = '100%';
  }
}, false);