From 76d000d03b78db2c9049ed02b3806764532dabb1 Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Sun, 5 Jul 2015 22:32:56 +0200 Subject: [PATCH] Initial work on video embedding. --- web/css/tempic-front.css | 36 ++++++++++++++++++++++++++++++++++++ web/index.php | 30 ++++++++++++++++++++++++++++-- 2 files changed, 64 insertions(+), 2 deletions(-) diff --git a/web/css/tempic-front.css b/web/css/tempic-front.css index a1b741f..7730303 100644 --- a/web/css/tempic-front.css +++ b/web/css/tempic-front.css @@ -199,3 +199,39 @@ progress { @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } } @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } + +@media (min-width: 768px) { + .modal-xl { + width: 90%; + max-width:1200px; + } +} + +.video-dialog { + height: 100%; +} + +.video-container { + height: 80%; + display: flex; + flex-direction: column; +} + +.video-header { + border-bottom: none; +} + +.video-body { + /*position: absolute; + bottom: 0; + height: 80%;*/ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; +} + +video { + height: 100%; +} \ No newline at end of file diff --git a/web/index.php b/web/index.php index 32f6473..cc9a334 100644 --- a/web/index.php +++ b/web/index.php @@ -330,6 +330,19 @@ + + $file) : ?> @@ -343,7 +356,7 @@