diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index c998501dad68ea4cd014f73c9bd062cf26d4b42f..4c5f847f9ffd3952c70e7815b92c1036ba18bb9d 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -30,10 +30,15 @@
 	margin:0 auto;
 }
 
+
 #imgframe img,
 #imgframe video {
-	max-height:100%;
-	max-width:100%;
+	max-height: 100% !important;
+	max-width: 100% !important;
+}
+#imgframe video {
+	width: 854px;
+	height: 480px;
 }
 
 #imgframe .text-preview {