From 2c51de25744d3d50732d08a4956d3135438521e2 Mon Sep 17 00:00:00 2001 From: Theodore Abshire Date: Fri, 26 Jul 2019 15:40:32 -0700 Subject: [PATCH] Re-added hidden 'noinput' param to demo. Change-Id: I137fdaf04342f20c8e389340473d0994c527998c --- demo/demo.less | 16 +++++++++++ demo/index.html | 11 +++++--- demo/main.js | 74 +++++++++++++++++++++++++++++++++++++------------ 3 files changed, 79 insertions(+), 22 deletions(-) diff --git a/demo/demo.less b/demo/demo.less index 13b220f23e..23cd00c0e8 100644 --- a/demo/demo.less +++ b/demo/demo.less @@ -382,6 +382,22 @@ footer .mdl-mega-footer__link-list { * mobile screens. */ max-width: 100%; } +#video-bar.no-input-sized { + /* Add some additional padding so that TV overscan doesn't cut off the version + * number or other information we might need. */ + padding: 2.5em 2em; + + /* Constrain the body to its size minus margin and padding, so that nested + * elements can constrain to the body. */ + width: 100%; + width: calc(100% - 4em); + height: 100%; + height: calc(100% - 5em); +} +.video-container.no-input-sized { + width: 100%; + height: 100%; +} #video { /* Fill whatever space we're given, whether fullscreen or not. */ diff --git a/demo/index.html b/demo/index.html index 6891d0ddbb..756a16f853 100644 --- a/demo/index.html +++ b/demo/index.html @@ -84,18 +84,21 @@
-
+
+
Shaka Player Demo Config @@ -116,7 +119,7 @@
-