mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 14:44:21 +00:00
correct video-size to 1920
This commit is contained in:
parent
14cd8a861e
commit
ca2b184b87
2 changed files with 12 additions and 5 deletions
|
@ -28,13 +28,20 @@ body.relive {
|
|||
|
||||
body.relive-player {
|
||||
.player-wrap {
|
||||
padding: 50px 0;
|
||||
padding: 0;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: @border-radius-large;
|
||||
margin-bottom: 25px;
|
||||
|
||||
.video-wrap {
|
||||
margin: 0 auto;
|
||||
|
||||
> [data-player] {
|
||||
// force 16:9 aspect ratio
|
||||
// https://gordonlesti.com/bootstrap-responsive-embed-aspect-ratio/
|
||||
padding-bottom: 56.25%;
|
||||
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,6 +11,6 @@ echo $tpl->render(array(
|
|||
'title' => 'Relive: ' . $talk['title'],
|
||||
'talk' => $talk,
|
||||
|
||||
'width' => 1024,
|
||||
'height' => 576,
|
||||
'width' => 1920,
|
||||
'height' => 1080,
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue