refactor: Replace video.js library with a native HTML5 video element for screen sharing playback.
This commit is contained in:
@@ -179,55 +179,18 @@ video.active {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.video-wrapper {
|
||||
.viewer-container video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
margin: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.video-wrapper.active {
|
||||
.viewer-container video.active {
|
||||
display: block;
|
||||
animation: fadeIn 0.5s ease forwards;
|
||||
}
|
||||
|
||||
/* Custom Video.js Overrides for Premium Glass Look */
|
||||
.video-js {
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.video-js .vjs-tech {
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.vjs-theme-city .vjs-control-bar {
|
||||
background: rgba(15, 23, 42, 0.85) !important;
|
||||
backdrop-filter: blur(8px) !important;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
|
||||
height: 50px !important;
|
||||
padding: 0 10px !important;
|
||||
}
|
||||
|
||||
.vjs-theme-city .vjs-play-progress,
|
||||
.vjs-theme-city .vjs-volume-level {
|
||||
background: var(--accent-color) !important;
|
||||
}
|
||||
|
||||
.vjs-theme-city .vjs-big-play-button {
|
||||
background: rgba(15, 23, 42, 0.85) !important;
|
||||
backdrop-filter: blur(8px) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
||||
border-radius: 50% !important;
|
||||
width: 80px !important;
|
||||
height: 80px !important;
|
||||
line-height: 80px !important;
|
||||
transition: all 0.3s ease !important;
|
||||
}
|
||||
|
||||
.vjs-theme-city .vjs-big-play-button:hover {
|
||||
background: var(--accent-color) !important;
|
||||
transform: scale(1.1) !important;
|
||||
}
|
||||
|
||||
.overlay {
|
||||
|
||||
Reference in New Issue
Block a user