2023-06-20 20:56:37 -07:00
|
|
|
@import '../../../styles/mixins';
|
2023-01-21 12:50:30 -08:00
|
|
|
|
2022-11-19 13:35:37 -08:00
|
|
|
.container {
|
|
|
|
display: grid;
|
|
|
|
width: 100%;
|
|
|
|
justify-items: center;
|
2023-05-18 12:13:26 -07:00
|
|
|
height: var(--player-container-height);
|
2023-01-28 18:13:00 -08:00
|
|
|
aspect-ratio: 16 / 9;
|
2022-11-19 13:35:37 -08:00
|
|
|
|
2023-06-20 20:56:37 -07:00
|
|
|
@media (width <= 1200px) {
|
2023-02-09 03:50:58 +01:00
|
|
|
height: 100%;
|
2023-05-18 12:13:26 -07:00
|
|
|
max-height: var(--player-container-height);
|
2023-01-29 17:10:38 -08:00
|
|
|
}
|
|
|
|
|
2023-04-26 23:31:23 +01:00
|
|
|
@include screen(desktop) {
|
|
|
|
// prevent sidebar from overlapping stream
|
|
|
|
// padding-right: 320px;
|
|
|
|
}
|
|
|
|
|
2023-06-28 10:12:01 -07:00
|
|
|
// set height of player for tablet
|
2023-04-26 23:31:23 +01:00
|
|
|
@include screen(tablet) {
|
2023-05-18 12:13:26 -07:00
|
|
|
height: var(--player-container-height);
|
|
|
|
max-height: var(--player-container-height);
|
2023-04-26 23:31:23 +01:00
|
|
|
}
|
|
|
|
|
2022-11-19 13:35:37 -08:00
|
|
|
.player,
|
|
|
|
.poster {
|
|
|
|
width: 100%;
|
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
}
|
2023-04-05 20:05:22 -07:00
|
|
|
|
2023-05-04 11:29:48 -07:00
|
|
|
.embedded {
|
2023-06-28 10:12:01 -07:00
|
|
|
height: 96vh; // Leave room for the status bar
|
2023-04-05 20:05:22 -07:00
|
|
|
max-height: unset;
|
|
|
|
}
|