-
Notifications
You must be signed in to change notification settings - Fork 373
Expand file tree
/
Copy pathindex.html
More file actions
195 lines (174 loc) · 6.18 KB
/
index.html
File metadata and controls
195 lines (174 loc) · 6.18 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Sendbird - A Complete Chat Platform, Messaging and Chat SDK and API" />
<meta property="og:description" content="Sendbird's chat, voice and video APIs and SDKs connect users through immersive, modern communication solutions that drive better user experiences and engagement." />
<meta property="og:url" content="https://sendbird.com/" />
<meta property="og:site_name" content="Sendbird" />
<meta property="og:image" content="https://6cro14eml0v2yuvyx3v5j11j-wpengine.netdna-ssl.com/wp-content/uploads/sendbird_thumbnail.png" />
<meta property="og:image:secure_url" content="https://6cro14eml0v2yuvyx3v5j11j-wpengine.netdna-ssl.com/wp-content/uploads/sendbird_thumbnail.png" />
<meta property="og:image:width" content="1200" /><meta property="og:image:height" content="645" />
<link rel="icon" href="https://dxstmhyqfqr1o.cloudfront.net/favicon/Sendbird_Favicon_PNG/Sendbird_Favicon_16X16.png">
<link rel="shortcut icon" href="https://dxstmhyqfqr1o.cloudfront.net/favicon/Sendbird_Favicon_PNG/Sendbird_Favicon_16X16.png">
<link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
<title>Live Chat Sample</title>
<script src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/axios.min.js"></script>
<style>
body {
margin: 0;
background: #e0e0e0;
font-family: 'Lato';
font-weight: 400;
-webkit-font-smoothing: antialiased;
}
.top {
width: 1224px;
height: 43px;
padding: 20px 0;
margin: 0 auto;
position: relative;
}
.top > a {
display: block;
float: left;
}
.top > span {
float: left;
color: black;
font-size: 13px;
position: absolute;
bottom: 28px;
left: 180px;
font-family: 'Open Sans';
}
.sendbird-logo {
border: none;
height: 28px;
padding-top: 12px;
}
.content {
width: 1224px;
height: 680px;
margin: 0 auto;
}
/* .content-image {
display: inline-block;
width: 680px;
height: 808px;
} */
.content-video {
display: inline-block;
width: 848px;
height: 680px;
background-color: white;
}
.content-video-stream {
width: 100%;
height: 522px;
background-color: black;
}
.content-video-stream-image {
width: 848px;
height: 522px;
}
.content-video-control {
width: 848px;
height: 48px;
background-color: black;
}
.content-video-control-icon {
margin: 13px 0px 11px 0px;
}
.content-video-control-text {
margin: 15px 0px 13px 0px;
font-family: OpenSans;
font-size: 14px;
font-weight: 600;
line-height: 1.43;
letter-spacing: normal;
color: white;
}
.content-video-description {
padding: 24px 24px 26px 24px;
border-right: 1px solid #e2e2e2;
}
.content-video-live-icon {
float: left;
width: 42px;
height: 32px;
object-fit: contain;
}
.content-video-title {
margin-left: 8px;
height: 32px;
font-size: 24px;
font-weight: 600;
line-height: 1.33;
letter-spacing: -0.12px;
color: black;
}
.content-video-information {
margin-top: 8px;
opacity: 0.64;
font-family: OpenSans;
font-size: 14px;
line-height: 1.43;
color: black;
}
.content-chat {
width: 376px;
height: 680px;
float: right;
background-color: white;
}
</style>
</head>
<body>
<div class="top">
<a href="https://sendbird.com" target="_blank">
<!--<img class="sendbird-logo" src="https://dxstmhyqfqr1o.cloudfront.net/logo/logo_SendBird_positive.svg" alt="SendBird">-->
<img class="sendbird-logo" src="https://dxstmhyqfqr1o.cloudfront.net/logos/Sendbird_Logo_PNG/Sendbird_Logo_RGB_lg.png" alt="Sendbird">
</a>
<span>version 0.7.0</span>
</div>
<div class="content">
<!-- <div class="content-image">
<img src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/bg_livechat_x2.png" width="680" height="810">
</div> -->
<div class="content-video">
<div class="content-video-stream">
<img class="content-video-stream-image" src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/img-video.jpg" width="848" height="522" />
</div>
<div class="content-video-control">
<img class="content-video-control-icon" src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/icon-pause.svg" style="margin-left: 14px" />
<img class="content-video-control-icon" src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/icon-file-audio.svg" style="margin-left: 16px" />
<img class="content-video-control-icon" src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/icon-volume-slider.svg" style="margin-left: 8px" />
<img class="content-video-control-icon" src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/icon-fullscreen.svg" style="float: right; margin-right: 18px" />
<span class="content-video-control-text" style="float: right; margin-right: 16px">1080p</span>
</div>
<div class="content-video-description">
<div>
<img class="content-video-live-icon" src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/icon-live.svg" />
<span class="content-video-title">RockBird | Live at International Music Concert</span>
<img src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/icon-more.svg" style="float: right; margin-right: 4px" />
<img src="https://dxstmhyqfqr1o.cloudfront.net/liveChat/icon-share.svg" style="float: right" />
</div>
<div class="content-video-information">
3,365 watching now ∙Started streaming 1 hours ago
</div>
</div>
</div>
<div class="content-chat" id="sb_chat"></div>
</div>
</body>
<script src="SendBird.min.js"></script>
<script src="dist/liveChat.SendBird.js"></script>
<script>
var appId = '9DA1B1F4-0BE6-4DA8-82C5-2E81DAB56F23';
var channelUrl = 'sendbird_open_channel_1_5b0336cc55abf6d3464e1d2a263a8e343d3b2b42'; // channel: text_chat_test
liveChat.start(appId, channelUrl);
</script>
</html>