From 78004875539077c235e6a8c49d653087913bd45b Mon Sep 17 00:00:00 2001 From: fo Date: Mon, 8 Sep 2014 18:34:56 +0300 Subject: [PATCH] Fixes bug with no audio when film strip is hidden. --- bottom_toolbar.js | 3 ++- css/videolayout_default.css | 5 +++++ index.html | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bottom_toolbar.js b/bottom_toolbar.js index 65afecbad..8ba87acc0 100644 --- a/bottom_toolbar.js +++ b/bottom_toolbar.js @@ -22,7 +22,8 @@ var BottomToolbar = (function (my) { }; my.toggleFilmStrip = function() { - $("#remoteVideos").toggle("slide", { direction: "down", duration: 700}); + var filmstrip = $("#remoteVideos"); + filmstrip.toggleClass("hidden"); }; diff --git a/css/videolayout_default.css b/css/videolayout_default.css index 9067c0ef2..712a4b5f3 100644 --- a/css/videolayout_default.css +++ b/css/videolayout_default.css @@ -19,6 +19,11 @@ width:auto; border:1px solid transparent; z-index: 5; + transition: bottom 2s; +} + +#remotevideos.hidden { + bottom: -196px; } .videocontainer { diff --git a/index.html b/index.html index 684ce17fa..1ba913c93 100644 --- a/index.html +++ b/index.html @@ -48,12 +48,12 @@ - + - +