global.css
84 lines
| 1 | presto-player:not(.hydrated) { |
| 2 | position: relative; |
| 3 | background: rgba(0, 0, 0, 0.1); |
| 4 | width: 100%; |
| 5 | display: block; |
| 6 | aspect-ratio: var(--presto-player-aspect-ratio, 16/9); |
| 7 | } |
| 8 | |
| 9 | presto-player:not(.hydrated) .presto-loader { |
| 10 | display: block; |
| 11 | } |
| 12 | |
| 13 | .presto-block-video:not(.presto-sticky-parent) { |
| 14 | border-radius: var(--presto-player-border-radius, 0px); |
| 15 | overflow: hidden; |
| 16 | transform: translateZ(0); |
| 17 | } |
| 18 | |
| 19 | /* Safari-specific fix - disable transform to prevent fullscreen black screen */ |
| 20 | @supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) { |
| 21 | .presto-block-video:not(.presto-sticky-parent) { |
| 22 | transform: none; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | .presto-block-video.presto-provider-audio { |
| 27 | overflow: visible; |
| 28 | } |
| 29 | |
| 30 | .presto-block-video .presto-sticky-parent { |
| 31 | overflow: auto; |
| 32 | transform: none; |
| 33 | } |
| 34 | |
| 35 | .presto-sticky-parent { |
| 36 | z-index: 99998 !important; |
| 37 | } |
| 38 | |
| 39 | .presto-player-fullscreen-open { |
| 40 | z-index: 9999999 !important; |
| 41 | overflow: visible !important; |
| 42 | transform: none !important; |
| 43 | } |
| 44 | |
| 45 | |
| 46 | presto-playlist, |
| 47 | presto-player-skeleton, |
| 48 | presto-timestamp, |
| 49 | presto-video-curtain-ui, |
| 50 | presto-search-bar-ui, |
| 51 | presto-player-button, |
| 52 | presto-cta-overlay-ui, |
| 53 | presto-video, |
| 54 | presto-action-bar-ui, |
| 55 | presto-youtube-subscribe-button, |
| 56 | presto-email-overlay-ui, |
| 57 | presto-player-spinner, |
| 58 | presto-action-bar, |
| 59 | presto-cta-overlay, |
| 60 | presto-email-overlay, |
| 61 | presto-bunny, |
| 62 | presto-dynamic-overlays, |
| 63 | presto-search-bar, |
| 64 | presto-youtube, |
| 65 | presto-audio, |
| 66 | presto-business-skin, |
| 67 | presto-modern-skin, |
| 68 | presto-muted-overlay, |
| 69 | presto-stacked-skin, |
| 70 | presto-vimeo, |
| 71 | presto-action-bar-controller, |
| 72 | presto-cta-overlay-controller, |
| 73 | presto-email-overlay-controller, |
| 74 | presto-dynamic-overlay-ui, |
| 75 | presto-player, |
| 76 | presto-playlist-item, |
| 77 | presto-playlist-overlay, |
| 78 | presto-playlist-ui { |
| 79 | visibility: hidden; |
| 80 | } |
| 81 | |
| 82 | .hydrated { |
| 83 | visibility: inherit; |
| 84 | } |