You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/video-calling/video-calling-javascript.md
Create an `index.html` file in the root directory of your project. We'll use this file to configure a basic layout that will allow the user to place a 1:1 video call.
43
42
44
43
Here's the code:
44
+
45
+
Create an `index.html` file in the root directory of your project. We'll use this file to configure a basic layout that will allow the user to place a 1:1 video call.
45
46
```html
46
47
<!-- index.html -->
47
48
<!DOCTYPE html>
48
49
<html>
49
50
<head>
50
51
<title>Azure Communication Services - Calling Web SDK</title>
<h4>Azure Communication Services - Calling Web SDK</h4>
@@ -71,7 +73,7 @@ Here's the code:
71
73
<br>
72
74
<divid="connectedLabel"style="color: #13bb13;"hidden>Call is connected!</div>
73
75
<br>
74
-
<divid="remoteVideoContainer"style="width: 40%;"hidden>Remote participants' video streams:</div>
76
+
<divid="remoteVideosGallery"style="width: 40%;"hidden>Remote participants' video streams:</div>
75
77
<br>
76
78
<divid="localVideoContainer"style="width: 30%;"hidden>Local video stream:</div>
77
79
<!-- points to the bundle generated from client.js -->
@@ -80,8 +82,6 @@ Here's the code:
80
82
</html>
81
83
```
82
84
83
-
## Azure Communication Services Calling Web SDK Object model
84
-
85
85
The following classes and interfaces handle some of the major features of the Azure Communication Services Calling SDK:
86
86
87
87
| Name | Description |
@@ -97,6 +97,13 @@ The following classes and interfaces handle some of the major features of the Az
97
97
98
98
Create a file in the root directory of your project called `client.js` to contain the application logic for this quickstart. Add the following code to client.js:
99
99
```JavaScript
100
+
/*************************************
101
+
* Example code - client.js *
102
+
* Convert this script into a *
103
+
* bundle.js that your html index *
104
+
* page can use. *
105
+
*************************************/
106
+
100
107
// Make sure to install the necessary dependencies
Create a file in the root directory of your project called `styles.css` to contain the application styling for this quickstart. Add the following code to styles.css:
452
+
```css
453
+
/**
454
+
* CSS for styling the loading spinner over the remote video stream
0 commit comments