diff --git a/s/item.tpl.html b/s/item.tpl.html index 4bf4d41..5762923 100644 --- a/s/item.tpl.html +++ b/s/item.tpl.html @@ -23,7 +23,7 @@
{% if item == "video" %} - + {% elseif item == "audio" %} {% if thumb != null %}
@@ -56,6 +56,6 @@ - + diff --git a/s/style.css b/s/style.css index fa80221..f6e2c18 100644 --- a/s/style.css +++ b/s/style.css @@ -160,6 +160,11 @@ img { width: 888px; } +video#player { + max-width: 100%; + height: 50%; +} + /* Plyr */ .plyr--audio .plyr__controls { padding: 0; @@ -174,7 +179,7 @@ img { .plyr audio, .plyr video { width: 100%; - height: auto; + height: auto!important; vertical-align: middle; border-radius: inherit; } @@ -243,7 +248,8 @@ img { } .plyr--fullscreen-active video { - height: 100%; + height: 100%!important; + max-width: 100%!important; } .plyr--fullscreen-active {