Selaa lähdekoodia

Merge pull request #124 from fouksf/hide-filmstrip

Fixes bug with no audio when film strip is hidden.
master
hristoterezov 10 vuotta sitten
vanhempi
commit
a28c785995
3 muutettua tiedostoa jossa 8 lisäystä ja 2 poistoa
  1. 2
    1
      bottom_toolbar.js
  2. 5
    0
      css/videolayout_default.css
  3. 1
    1
      index.html

+ 2
- 1
bottom_toolbar.js Näytä tiedosto

22
     };
22
     };
23
 
23
 
24
     my.toggleFilmStrip = function() {
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 Näytä tiedosto

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

+ 1
- 1
index.html Näytä tiedosto

53
     <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
53
     <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
54
     <link rel="stylesheet" href="css/font.css?v=4"/>
54
     <link rel="stylesheet" href="css/font.css?v=4"/>
55
     <link rel="stylesheet" type="text/css" media="screen" href="css/main.css?v=23"/>
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
     <link rel="stylesheet" href="css/jquery-impromptu.css?v=4">
57
     <link rel="stylesheet" href="css/jquery-impromptu.css?v=4">
58
     <link rel="stylesheet" href="css/modaldialog.css?v=3">
58
     <link rel="stylesheet" href="css/modaldialog.css?v=3">
59
     <link rel="stylesheet" href="css/popup_menu.css?v=2">
59
     <link rel="stylesheet" href="css/popup_menu.css?v=2">

Loading…
Peruuta
Tallenna