Skip to content

Fill-Screen by iJUSTWANTTOUSE

Details

AuthoriJUSTWANTTOUSE

LicenseNo License

Categoryspankbang

Created

Updated

Code size1.5 kB

Code checksum11c8f4ff

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Made with AI stretches video to fill the screen

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       Fit To Screen
@version    20250413.15.12
@namespace  ?
==/UserStyle== */

@-moz-document domain("spankbang.com") {
/* Lock page and hide scroll */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: black !important;
  height: 100% !important;
}

/* Expand main video player wrapper */
#main_video_player {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background: black !important;
}

/* Ensure video player container (Video.js) is interactive */
.video-js {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: black !important;
}

/* The actual video element */
#main_video_player_html5_api,
#video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  pointer-events: auto !important;
}

/* Fix for parent layout interfering */
#video_container,
#player_wrapper_outer {
  width: 100% !important;
  height: 100% !important;
  position: static !important;
  z-index: auto !important;
  display: contents !important; /* let children define layout */
}

}

Reviews

No reviews yet.