Fix aspect ratio

This commit is contained in:
Thomas Forgione 2020-10-04 18:03:09 +02:00
parent 00381cfcd7
commit 757797b803
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ videoView zone playlist video =
[ Keyed.el
[ Element.width Element.fill
, Element.height (Element.px 0)
, Element.htmlAttribute (Html.Attributes.style "padding-top" "56%")
, Element.htmlAttribute (Html.Attributes.style "padding-top" "56.25%")
, Element.htmlAttribute (Html.Attributes.style "position" "relative")
]
( video.url