瀏覽代碼

feat(iframe_api): Add api.html to doc for example and testing purpose

j8
hristoterezov 8 年之前
父節點
當前提交
8844f83a59
共有 2 個檔案被更改,包括 22 行新增0 行删除
  1. 22
    0
      doc/api/api.html
  2. 0
    0
      doc/api/api.md

+ 22
- 0
doc/api/api.html 查看文件

@@ -0,0 +1,22 @@
1
+<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
2
+    <head>
3
+        <meta charset="utf-8">
4
+        <meta http-equiv="content-type" content="text/html;charset=utf-8">
5
+    </head>
6
+    <body>
7
+        <script src="https://meet.jit.si/external_api.js"></script>
8
+        <script>
9
+            var domain = "meet.jit.si";
10
+            var room = "JitsiMeetAPIExample";
11
+            var width = 700;
12
+            var height = 180;
13
+            var htmlElement = undefined;
14
+            var configOverwrite = {};
15
+            var interfaceConfigOverwrite = {
16
+                filmStripOnly: true
17
+            };
18
+            var api = new JitsiMeetExternalAPI(domain, room, width, height,
19
+                htmlElement, configOverwrite, interfaceConfigOverwrite);
20
+        </script>
21
+    </body>
22
+</html>

doc/api.md → doc/api/api.md 查看文件


Loading…
取消
儲存