forked from easemob/web-im
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·45 lines (44 loc) · 1.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=Edge"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0"/>
<title>IM-DEMO</title>
<!-- HTML5 element -->
<script src="./demo/javascript/dist/browser-polyfill.min.js"></script>
</head>
<body>
<section id='main' class='w100'>
<article id='demo'></article>
<article id='components'></article>
</section>
<!--config-->
<script src="./demo/javascript/dist/webim.config.js"></script>
<script>
if (WebIM.config.isWindowSDK) {
document.title = "环信Demo";
}
if (WebIM.config.isDebug) {
document.write("<script src='./sdk/dist/strophe-1.2.8.js'><\/script>");
} else {
<!--A JavaScript library for XMPP over Websocket-->
document.write("<script src='./sdk/dist/strophe-1.2.8.min.js'><\/script>");
}
</script>
<!--sdk-->
<script src='./sdk/dist/websdk-1.4.13.js'></script>
<!--webrtc-->
<script>
if (WebIM.config.isWebRTC) {
document.write("<script src='./webrtc/dist/adapter.js'><\/script>");
document.write("<script src='./webrtc/dist/webrtc-1.4.13.js'><\/script>");
}
</script>
<!--[if lte IE 9]>
<script src="./demo/javascript/dist/swfupload/swfupload.min.js"></script>
<![endif]-->
<!--demo javascript-->
<script src="./demo/javascript/dist/demo-1.4.13.js"></script>
</body>
</html>