Skip to content

Full Height Video by mrflix

Screenshot of Full Height Video

Details

Authormrflix

LicenseNo License

Categoryyoutube.com

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Show the video in full height

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Full Height Video
@version      20230807.09.57
@namespace    ?
==/UserStyle== */

@-moz-document domain("youtube.com") {
ytd-watch-flexy[theater] #player-theater-container.ytd-watch-flexy,
ytd-watch-flexy[fullscreen] #player-theater-container.ytd-watch-flexy,
ytd-watch-flexy[theater] #player-wide-container.ytd-watch-flexy, ytd-watch-flexy[fullscreen] #player-wide-container.ytd-watch-flexy {
  max-height: calc(100vh - 56px);
  height: 100%;
}

.html5-video-player {
  display: flex;
  align-items: center;
}

.html5-video-container {
  width: 100%;
  height: 100%;
}

.html5-video-player .video-click-tracking, .html5-video-player .video-stream {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  object-fit: contain;
}

ytd-watch-flexy[fullscreen] #player-theater-container.ytd-watch-flexy {
  max-height: 100vh;
}

#voice-search-button,
ytd-topbar-menu-button-renderer[has-no-text],
ytd-notification-topbar-button-renderer[has-no-text],
ytd-download-button-renderer,
ytd-button-renderer:nth-last-child(2) {
  display: none !important;
}

#center.ytd-masthead {
  flex-basis: 500px;
}

body::-webkit-scrollbar {
  width: 0;
}
}

Reviews

No reviews yet.