googlearchive/sample-media-pwa

Issue with player width, and player height in fullscreen

Closed this issue · 0 comments

  • The video player currently uses vw to set width and aspect ratio. This approach renders a horizontal scrollbar and extends video player outside the viewport in Windows and Linux based browsers, which is annoying. Consider using % to also make the video player embed into other divs.

    image

  • The max-height css property of player forces it to be smaller in full screen, leaving black bars on top and bottom of the screen.

    image