.video-container { position: relative; width: 100%; --plyr-color-main: var(--k-primary); video { width: 100%; // object-fit: cover; } :global { .video-back { position: absolute; left: 20px; top: 20px; color: #fff; z-index: 99; font-size: 24px; width: 30px; height: 30px; background-color: rgba(0, 0, 0, 0.5); border-radius: 50%; padding: 4px 5px 4px 3px; } .plyr__poster { background-size: cover; } .plyr__control--overlaid { border: 1px solid #fff; background-color: rgba(0, 0, 0, 0.2) !important; } .plyr--video .plyr__control:hover { background-color: transparent !important; } .vjs-poster { background-size: cover; } .video-js .vjs-progress-control:hover .vjs-progress-holder { font-size: inherit !important; outline: none; } .video-js .vjs-slider:focus { box-shadow: none !important; text-shadow: none !important; outline: none; } } .video { position: relative; } } .loadingVideo { position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: rgba(0, 0, 0, 0.9); z-index: 10; }