diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 21f0c82b829adc7ea56e9ce64658826d19eead84..5246a4b2fec1dd6dde2ec8153c3c27966d8c60a8 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -66,7 +66,8 @@ p.info a {
 	margin:0 auto;
 }
 
-#imgframe img {
+#imgframe img,
+#imgframe video {
 	max-height:100%;
 	max-width:100%;
 }
@@ -76,6 +77,8 @@ p.info a {
 	margin-top: 10%;
 }
 
+
+
 thead {
 	padding-left: 0 !important; /* fixes multiselect bar offset on shared page */
 }