Kaynağa Gözat

Merge pull request #124 from fouksf/hide-filmstrip

Fixes bug with no audio when film strip is hidden.
master
hristoterezov 10 yıl önce
ebeveyn
işleme
a28c785995
3 değiştirilmiş dosya ile 8 ekleme ve 2 silme
  1. 2
    1
      bottom_toolbar.js
  2. 5
    0
      css/videolayout_default.css
  3. 1
    1
      index.html

+ 2
- 1
bottom_toolbar.js Dosyayı Görüntüle

@@ -22,7 +22,8 @@ var BottomToolbar = (function (my) {
22 22
     };
23 23
 
24 24
     my.toggleFilmStrip = function() {
25
-        $("#remoteVideos").toggle("slide", { direction: "down", duration: 700});
25
+        var filmstrip = $("#remoteVideos");
26
+        filmstrip.toggleClass("hidden");
26 27
     };
27 28
 
28 29
 

+ 5
- 0
css/videolayout_default.css Dosyayı Görüntüle

@@ -19,6 +19,11 @@
19 19
     width:auto;
20 20
     border:1px solid transparent;
21 21
     z-index: 5;
22
+    transition: bottom 2s;
23
+}
24
+
25
+#remotevideos.hidden {
26
+    bottom: -196px;
22 27
 }
23 28
 
24 29
 .videocontainer {

+ 1
- 1
index.html Dosyayı Görüntüle

@@ -53,7 +53,7 @@
53 53
     <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
54 54
     <link rel="stylesheet" href="css/font.css?v=4"/>
55 55
     <link rel="stylesheet" type="text/css" media="screen" href="css/main.css?v=23"/>
56
-    <link rel="stylesheet" type="text/css" media="screen" href="css/videolayout_default.css?v=9" id="videolayout_default"/>
56
+    <link rel="stylesheet" type="text/css" media="screen" href="css/videolayout_default.css?v=10" id="videolayout_default"/>
57 57
     <link rel="stylesheet" href="css/jquery-impromptu.css?v=4">
58 58
     <link rel="stylesheet" href="css/modaldialog.css?v=3">
59 59
     <link rel="stylesheet" href="css/popup_menu.css?v=2">

Loading…
İptal
Kaydet