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