Przeglądaj źródła

Fixes the references with chromeonly page.

master
hristoterezov 10 lat temu
rodzic
commit
37282e63b3
5 zmienionych plików z 37 dodań i 15 usunięć
  1. 1
    1
      css/unsupported_browser.css
  2. 1
    1
      index.html
  3. 1
    1
      libs/app.bundle.js
  4. 1
    1
      modules/RTC/RTCUtils.js
  5. 33
    11
      webrtcrequired.html

+ 1
- 1
css/unsupported_browser.css Wyświetl plik

12
     display: block;
12
     display: block;
13
     position: absolute;
13
     position: absolute;
14
     width:900px;
14
     width:900px;
15
-    height: 345px;
15
+    height: 365px;
16
     overflow:hidden;
16
     overflow:hidden;
17
     text-align: center;
17
     text-align: center;
18
     margin: auto;
18
     margin: auto;

+ 1
- 1
index.html Wyświetl plik

19
     <script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
19
     <script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
20
     <script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
20
     <script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
21
     <script src="interface_config.js?v=5"></script>
21
     <script src="interface_config.js?v=5"></script>
22
-    <script src="libs/app.bundle.js?v=19"></script>
22
+    <script src="libs/app.bundle.js?v=20"></script>
23
     <script src="analytics.js?v=1"></script><!-- google analytics plugin -->
23
     <script src="analytics.js?v=1"></script><!-- google analytics plugin -->
24
     <link rel="stylesheet" href="css/font.css?v=6"/>
24
     <link rel="stylesheet" href="css/font.css?v=6"/>
25
     <link rel="stylesheet" href="css/toastr.css?v=1">
25
     <link rel="stylesheet" href="css/toastr.css?v=1">

+ 1
- 1
libs/app.bundle.js Wyświetl plik

1079
 
1079
 
1080
     if (this.browser !== RTCBrowserType.RTC_BROWSER_CHROME &&
1080
     if (this.browser !== RTCBrowserType.RTC_BROWSER_CHROME &&
1081
         config.enableFirefoxSupport !== true) {
1081
         config.enableFirefoxSupport !== true) {
1082
-        window.location.href = 'chromeonly.html';
1082
+        window.location.href = 'unsupported_browser.html';
1083
         return;
1083
         return;
1084
     }
1084
     }
1085
 
1085
 

+ 1
- 1
modules/RTC/RTCUtils.js Wyświetl plik

201
 
201
 
202
     if (this.browser !== RTCBrowserType.RTC_BROWSER_CHROME &&
202
     if (this.browser !== RTCBrowserType.RTC_BROWSER_CHROME &&
203
         config.enableFirefoxSupport !== true) {
203
         config.enableFirefoxSupport !== true) {
204
-        window.location.href = 'chromeonly.html';
204
+        window.location.href = 'unsupported_browser.html';
205
         return;
205
         return;
206
     }
206
     }
207
 
207
 

+ 33
- 11
webrtcrequired.html Wyświetl plik

1
 <html>
1
 <html>
2
 <head>
2
 <head>
3
-<title>Jitsi Meet: Unsupported Browser</title>
4
-<link rel="stylesheet" type="text/css" media="screen" href="css/chromeonly.css" />
3
+    <title>Jitsi Meet: Unsupported Browser</title>
4
+    <link rel="stylesheet" type="text/css" media="screen" href="css/unsupported_browser.css" />
5
 </head>
5
 </head>
6
 
6
 
7
 <body>
7
 <body>
8
 <!-- wrap starts here -->
8
 <!-- wrap starts here -->
9
-<div id="wrap"> 
10
-<a href="http://google.com/chrome"><div id="left"></div></a>
11
-<div id="middle"></div>
12
-<div id="text">
13
-    <p>This application is currently only supported by <a href="http://google.com/chrome">Chrome</a>, <a href="http://www.chromium.org/">Chromium</a> and <a href="http://www.opera.com">Opera</a></p>
14
-    <p><a href="http://google.com/chrome">Download Chrome</a></p>
15
-    <p class="firefox">We are hoping that <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=977864">multistream support</a> for Firefox would not be long so that we could all use this application with our favorite browser.</p>
9
+<div id="wrap">
10
+    <div id="text">
11
+        <p>This application is currently only supported by</p>
12
+
13
+        <div class="supported_browsers">
14
+            <div class="browser_wrapper">
15
+                Chrome
16
+                <div class="browser">
17
+                    <div class="logo" id="chrome_logo"></div>
18
+                    <a href="http://google.com/chrome"><div class="button">DOWNLOAD</div></a>
19
+                </div>
20
+            </div>
21
+            <div class="browser_wrapper">
22
+                Chromium
23
+                <div class="browser">
24
+                    <div class="logo" id="chromium_logo"></div>
25
+                    <a href="http://www.chromium.org/"><div class="button">DOWNLOAD</div></a>
26
+                </div>
27
+            </div>
28
+            <div class="browser_wrapper">
29
+                Opera
30
+                <div class="browser">
31
+                    <div class="logo" id="opera_logo"></div>
32
+                    <a href="http://www.opera.com"><div class="button">DOWNLOAD</div></a>
33
+                </div>
34
+            </div>
35
+        </div>
36
+        <div class="clear"></div>
37
+        <div class="firefox">We are hoping that <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=977864">multistream support</a> for Firefox would not be long so that we could all use this application with our favorite browser.</div>
38
+    </div>
39
+    <!-- wrap ends here -->
16
 </div>
40
 </div>
17
-<!-- wrap ends here -->
18
-</div>		
19
 </body>
41
 </body>
20
 </html>
42
 </html>

Ładowanie…
Anuluj
Zapisz