@-webkit-keyframes plyr-progress { to { background-position: 25px 0; } } @keyframes plyr-progress { to { background-position: 25px 0; } } .plyr { position: relative; min-width: 200px; max-width: 100%; font-family: Avenir, "Avenir Next", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; direction: ltr; } .plyr, .plyr *, .plyr *::after, .plyr *::before { box-sizing: border-box; } .plyr a, .plyr button, .plyr input, .plyr label { -ms-touch-action: manipulation; touch-action: manipulation; } .plyr:focus { outline: 0; } .plyr video, .plyr audio { width: 100%; height: auto; vertical-align: middle; border-radius: inherit; } .plyr input[type='range'] { display: block; width: 100%; height: 20px; padding: 0; margin: 0; vertical-align: middle; cursor: pointer; background: transparent; border: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .plyr input[type='range']::-webkit-slider-runnable-track { height: 8px; background: transparent; border: 0; border-radius: 4px; -webkit-user-select: none; user-select: none; } .plyr input[type='range']::-webkit-slider-thumb { position: relative; height: 16px; width: 16px; background: #fff; border: 2px solid transparent; border-radius: 100%; transition: background .2s ease, border .2s ease, -webkit-transform .2s ease; transition: background .2s ease, border .2s ease, transform .2s ease; transition: background .2s ease, border .2s ease, transform .2s ease, -webkit-transform .2s ease; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.15); box-sizing: border-box; margin-top: -4px; -webkit-appearance: none; } .plyr input[type='range']::-moz-range-track { height: 8px; background: transparent; border: 0; border-radius: 4px; -moz-user-select: none; user-select: none; } .plyr input[type='range']::-moz-range-thumb { position: relative; height: 16px; width: 16px; background: #fff; border: 2px solid transparent; border-radius: 100%; transition: background .2s ease, border .2s ease, -webkit-transform .2s ease; transition: background .2s ease, border .2s ease, transform .2s ease; transition: background .2s ease, border .2s ease, transform .2s ease, -webkit-transform .2s ease; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.15); box-sizing: border-box; } .plyr input[type='range']::-ms-track { height: 8px; color: transparent; background: transparent; border: 0; } .plyr input[type='range']::-ms-fill-upper { height: 8px; background: transparent; border: 0; border-radius: 4px; -ms-user-select: none; user-select: none; } .plyr input[type='range']::-ms-fill-lower { height: 8px; background: transparent; border: 0; border-radius: 4px; -ms-user-select: none; user-select: none; background: #3e8ef7; } .plyr input[type='range']::-ms-thumb { position: relative; height: 16px; width: 16px; background: #fff; border: 2px solid transparent; border-radius: 100%; transition: background .2s ease, border .2s ease, -webkit-transform .2s ease; transition: background .2s ease, border .2s ease, transform .2s ease; transition: background .2s ease, border .2s ease, transform .2s ease, -webkit-transform .2s ease; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.15); box-sizing: border-box; margin-top: 0; } .plyr input[type='range']::-ms-tooltip { display: none; } .plyr input[type='range']:focus { outline: 0; } .plyr input[type='range']::-moz-focus-outer { border: 0; } .plyr input[type='range'].tab-focus:focus { outline-offset: 3px; } .plyr input[type='range']:active::-webkit-slider-thumb { background: #3e8ef7; border-color: #fff; -webkit-transform: scale(1.25); transform: scale(1.25); } .plyr input[type='range']:active::-moz-range-thumb { background: #3e8ef7; border-color: #fff; transform: scale(1.25); } .plyr input[type='range']:active::-ms-thumb { background: #3e8ef7; border-color: #fff; transform: scale(1.25); } .plyr--video input[type='range'].tab-focus:focus { outline: 1px dotted rgba(255, 255, 255, 0.5); } .plyr--audio input[type='range'].tab-focus:focus { outline: 1px dotted rgba(228, 234, 236, 0.5); } .plyr__sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); } .plyr__video-wrapper { position: relative; background: #000; border-radius: inherit; -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); } .plyr__video-embed { height: 0; padding-bottom: 56.25%; /* 16:9 */ overflow: hidden; border-radius: inherit; } .plyr__video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 0; } .plyr__video-embed > div { position: relative; padding-bottom: 200%; -webkit-transform: translateY(-35.95%); transform: translateY(-35.95%); } .plyr .plyr__video-embed iframe { pointer-events: none; } .plyr video::-webkit-media-text-track-container { display: none; } .plyr__captions { position: absolute; bottom: 0; left: 0; display: none; width: 100%; padding: 20px; font-size: 16px; font-weight: 400; color: #fff; text-align: center; transition: -webkit-transform .3s ease; transition: transform .3s ease; transition: transform .3s ease, -webkit-transform .3s ease; -webkit-transform: translateY(-60px); transform: translateY(-60px); } @media (min-width: 768px) { .plyr__captions { font-size: 24px; } } .plyr__captions span { padding: 3px 10px; line-height: 150%; background: rgba(0, 0, 0, 0.7); border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; } .plyr__captions span:empty { display: none; } .plyr--captions-active .plyr__captions { display: block; } .plyr--fullscreen-active .plyr__captions { font-size: 32px; } .plyr--hide-controls .plyr__captions { -webkit-transform: translateY(-20px); transform: translateY(-20px); } .plyr ::-webkit-media-controls { display: none; } .plyr__controls { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; line-height: 1; text-align: center; } @media (min-width: 480px) { .plyr__controls > button, .plyr__controls .plyr__progress, .plyr__controls .plyr__time { margin-left: 10px; } } .plyr__controls > button, .plyr__controls .plyr__progress, .plyr__controls .plyr__time { margin-left: 5px; } .plyr__controls > button:first-child, .plyr__controls .plyr__progress:first-child, .plyr__controls .plyr__time:first-child { margin-left: 0; } .plyr__controls .plyr__volume { margin-left: 5px; } .plyr__controls [data-plyr="pause"] { margin-left: 0; } .plyr__controls button { position: relative; display: inline-block; padding: 7px; overflow: visible; color: inherit; vertical-align: middle; cursor: pointer; background: transparent; border: 0; border-radius: 3px; transition: background .3s ease, color .3s ease, opacity .3s ease; -ms-flex-negative: 0; flex-shrink: 0; } .plyr__controls button svg { display: block; width: 18px; height: 18px; fill: currentColor; } .plyr__controls button:focus { outline: 0; } .plyr__controls .icon--exit-fullscreen, .plyr__controls .icon--muted, .plyr__controls .icon--captions-on { display: none; } .plyr--hide-controls .plyr__controls { pointer-events: none; opacity: 0; } .plyr--video .plyr__controls { position: absolute; right: 0; bottom: 0; left: 0; padding: 50px 10px 10px; color: #fff; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)); border-bottom-right-radius: inherit; border-bottom-left-radius: inherit; transition: opacity .3s ease; } .plyr--video .plyr__controls button.tab-focus:focus, .plyr--video .plyr__controls button:hover { color: #fff; background: #3e8ef7; } .plyr--audio .plyr__controls { padding: 10px; color: #e4eaec; background: #fff; border: 1px solid #f3f7f9; border-radius: inherit; } .plyr--audio .plyr__controls button.tab-focus:focus, .plyr--audio .plyr__controls button:hover { color: #fff; background: #3e8ef7; } .plyr__play-large { position: absolute; top: 50%; left: 50%; z-index: 1; display: none; padding: 10px; color: #fff; background: #3e8ef7; border: 2px solid currentColor; border-radius: 100%; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); transition: all .3s ease; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .plyr__play-large svg { position: relative; left: 2px; display: block; width: 20px; height: 20px; fill: currentColor; } .plyr__play-large:focus { outline: 1px dotted rgba(255, 255, 255, 0.5); } .plyr .plyr__play-large { display: inline-block; } .plyr--audio .plyr__play-large { display: none; } .plyr--playing .plyr__play-large { visibility: hidden; opacity: 0; } .plyr__controls [data-plyr='pause'], .plyr--playing .plyr__controls [data-plyr='play'] { display: none; } .plyr--playing .plyr__controls [data-plyr='pause'] { display: inline-block; } .plyr--fullscreen-active .icon--exit-fullscreen, .plyr--muted .plyr__controls .icon--muted, .plyr--captions-active .plyr__controls .icon--captions-on { display: block; } .plyr--fullscreen-active .icon--exit-fullscreen + svg, .plyr--muted .plyr__controls .icon--muted + svg, .plyr--captions-active .plyr__controls .icon--captions-on + svg { display: none; } .plyr [data-plyr='captions'], .plyr [data-plyr='fullscreen'] { display: none; } .plyr--captions-enabled [data-plyr='captions'], .plyr--fullscreen-enabled [data-plyr='fullscreen'] { display: inline-block; } .plyr__tooltip { position: absolute; bottom: 100%; z-index: 2; padding: 5px 7.5px; margin-bottom: 10px; font-size: 14px; line-height: 1.3; color: #fff; pointer-events: none; background: rgba(0, 0, 0, 0.7); border-radius: 3px; opacity: 0; transition: opacity .2s .1s ease, -webkit-transform .2s .1s ease; transition: transform .2s .1s ease, opacity .2s .1s ease; transition: transform .2s .1s ease, opacity .2s .1s ease, -webkit-transform .2s .1s ease; -webkit-transform: translate(-50%, 10px) scale(0.8); transform: translate(-50%, 10px) scale(0.8); -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; } .plyr__tooltip::before { position: absolute; bottom: -4px; left: 50%; z-index: 2; width: 0; height: 0; content: ""; border-top: 4px solid rgba(0, 0, 0, 0.7); border-right: 4px solid transparent; border-left: 4px solid transparent; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .plyr button:hover .plyr__tooltip, .plyr button.tab-focus:focus .plyr__tooltip, .plyr__tooltip--visible { opacity: 1; -webkit-transform: translate(-50%, 0) scale(1); transform: translate(-50%, 0) scale(1); } .plyr button:hover .plyr__tooltip { z-index: 3; } .plyr__controls button:first-child .plyr__tooltip { left: 0; -webkit-transform: translate(0, 10px) scale(0.8); transform: translate(0, 10px) scale(0.8); -webkit-transform-origin: 0 100%; transform-origin: 0 100%; } .plyr__controls button:first-child .plyr__tooltip::before { left: 16px; } .plyr__controls button:last-child .plyr__tooltip { right: 0; -webkit-transform: translate(0, 10px) scale(0.8); transform: translate(0, 10px) scale(0.8); -webkit-transform-origin: 100% 100%; transform-origin: 100% 100%; } .plyr__controls button:last-child .plyr__tooltip::before { right: 16px; left: auto; -webkit-transform: translateX(50%); transform: translateX(50%); } .plyr__controls button:first-child:hover .plyr__tooltip, .plyr__controls button:first-child.tab-focus:focus .plyr__tooltip, .plyr__controls button:first-child .plyr__tooltip--visible, .plyr__controls button:last-child:hover .plyr__tooltip, .plyr__controls button:last-child.tab-focus:focus .plyr__tooltip, .plyr__controls button:last-child .plyr__tooltip--visible { -webkit-transform: translate(0, 0) scale(1); transform: translate(0, 0) scale(1); } .plyr__progress { position: relative; display: none; -ms-flex: 1; flex: 1; } .plyr__progress input[type="range"] { position: relative; z-index: 2; } .plyr__progress input[type="range"]::-webkit-slider-runnable-track { background: transparent; } .plyr__progress input[type="range"]::-moz-range-track { background: transparent; } .plyr__progress input[type="range"]::-ms-fill-upper { background: transparent; } .plyr__progress .plyr__tooltip { left: 0; } .plyr .plyr__progress { display: inline-block; } .plyr__progress--buffer, .plyr__progress--played, .plyr__volume--display { position: absolute; top: 50%; left: 0; width: 100%; height: 8px; padding: 0; margin: -4px 0 0; vertical-align: top; border: none; border-radius: 100px; -webkit-appearance: none; -moz-appearance: none; appearance: none; } .plyr__progress--buffer::-webkit-progress-bar, .plyr__progress--played::-webkit-progress-bar, .plyr__volume--display::-webkit-progress-bar { background: transparent; } .plyr__progress--buffer::-webkit-progress-value, .plyr__progress--played::-webkit-progress-value, .plyr__volume--display::-webkit-progress-value { min-width: 8px; background: currentColor; border-radius: 100px; } .plyr__progress--buffer::-moz-progress-bar, .plyr__progress--played::-moz-progress-bar, .plyr__volume--display::-moz-progress-bar { min-width: 8px; background: currentColor; border-radius: 100px; } .plyr__progress--buffer::-ms-fill, .plyr__progress--played::-ms-fill, .plyr__volume--display::-ms-fill { border-radius: 100px; } .plyr__progress--played, .plyr__volume--display { z-index: 1; color: #3e8ef7; background: transparent; transition: none; } .plyr__progress--played::-webkit-progress-value, .plyr__volume--display::-webkit-progress-value { min-width: 8px; max-width: 99%; border-top-right-radius: 0; border-bottom-right-radius: 0; transition: none; } .plyr__progress--played::-moz-progress-bar, .plyr__volume--display::-moz-progress-bar { min-width: 8px; max-width: 99%; border-top-right-radius: 0; border-bottom-right-radius: 0; transition: none; } .plyr__progress--played::-ms-fill, .plyr__volume--display::-ms-fill { display: none; } .plyr__progress--buffer::-webkit-progress-value { transition: width .2s ease; } .plyr__progress--buffer::-moz-progress-bar { transition: width .2s ease; } .plyr__progress--buffer::-ms-fill { transition: width .2s ease; } .plyr--video .plyr__progress--buffer, .plyr--video .plyr__volume--display { background: rgba(255, 255, 255, 0.25); } .plyr--video .plyr__progress--buffer { color: rgba(255, 255, 255, 0.25); } .plyr--audio .plyr__progress--buffer, .plyr--audio .plyr__volume--display { background: rgba(204, 213, 219, 0.67); } .plyr--audio .plyr__progress--buffer { color: rgba(204, 213, 219, 0.67); } .plyr--loading .plyr__progress--buffer { color: transparent; background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.15) 75%, transparent 75%, transparent); background-repeat: repeat-x; background-size: 25px 25px; -webkit-animation: plyr-progress 1s linear infinite; animation: plyr-progress 1s linear infinite; } .plyr--video.plyr--loading .plyr__progress--buffer { background-color: rgba(255, 255, 255, 0.25); } .plyr--audio.plyr--loading .plyr__progress--buffer { background-color: rgba(204, 213, 219, 0.67); } .plyr__time { display: inline-block; font-size: 14px; vertical-align: middle; } .plyr__time + .plyr__time { display: none; } @media (min-width: 768px) { .plyr__time + .plyr__time { display: inline-block; } } .plyr__time + .plyr__time::before { margin-right: 10px; content: "\2044"; } .plyr__volume { display: none; } .plyr .plyr__volume { position: relative; -ms-flex: 1; flex: 1; } @media (min-width: 480px) { .plyr .plyr__volume { display: block; max-width: 60px; } } @media (min-width: 768px) { .plyr .plyr__volume { max-width: 100px; } } .plyr .plyr__volume input[type="range"] { position: relative; z-index: 2; } .plyr--is-ios .plyr__volume, .plyr--is-ios [data-plyr='mute'] { display: none !important; } .plyr--fullscreen-active { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10000000; width: 100%; height: 100%; background: #000; border-radius: 0 !important; } .plyr--fullscreen-active video { height: 100%; } .plyr--fullscreen-active .plyr__video-wrapper { width: 100%; height: 100%; } .plyr--fullscreen-active .plyr__controls { position: absolute; right: 0; bottom: 0; left: 0; } .plyr--fullscreen-active.plyr--vimeo .plyr__video-wrapper { top: 50%; height: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%); }