From b804a271e71788a8d1ef26067f5b6c248b6cfb16 Mon Sep 17 00:00:00 2001 From: lone-cloud Date: Wed, 27 Jan 2016 00:43:22 -0800 Subject: [PATCH] mobile responsive video --- app/pods/components/huegasm-app/template.hbs | 4 +++- app/styles/app.scss | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/app/pods/components/huegasm-app/template.hbs b/app/pods/components/huegasm-app/template.hbs index 3d38141..893df7f 100644 --- a/app/pods/components/huegasm-app/template.hbs +++ b/app/pods/components/huegasm-app/template.hbs @@ -8,8 +8,10 @@
Huegasm

Your lights, meet your music. Huegasm.

Huegasm is a free web application for managing and synchronizing your Philips Hue lights with the beat of your music.

-
+
+
+
{{#paper-button raised=true primary=true action="isReady" class="goButton center-block"}}Go!{{/paper-button}}
diff --git a/app/styles/app.scss b/app/styles/app.scss index ed00205..a0a6a26 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -33,6 +33,24 @@ body { } .embedContainer { + position:relative; + padding-bottom:56.25%; + padding-top:30px; + height:0; + overflow:hidden; +} + +.embedContainerWrapper { + max-width: 600px; + margin: auto; +} + +.embedContainer iframe, .embedContainer object, .embedContainer embed { + position:absolute; + top:0; + left:0; + width:100%; + height:100%; } .goButton {