-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-1.html
145 lines (132 loc) · 7.01 KB
/
index-1.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>محادثة فيديو</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-toggleable-sm navbar-inverse fixed-top bg-inverse">
<a class="navbar-brand" href="index.html" style="text-align: right;">ENG</a>
<a class="navbar-brand" href="#" style="text-align: right; margin-left: 85%;">أنتي كوفيد 19</a>
</nav>
<video autoplay muted loop id="myVideo">
<source src="img/4k.mp4" type="video/mp4" style="text-align: right; float: right;">
متصفحك لا يدعم فيديو HTML5.
</video>
<section id="chat-app">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-6 mb-4 x" style="text-align: right; margin-left: 50%;">
هويتك: <h4 id="peer-id" data-toggle="tooltip" data-placement="top" title="Click to copy peer ID"></h3>
<a href="#getUserNameModal" data-toggle="modal">تغير</a>
</div>
<div class="col-lg-6 col-md-6 mb-5 hide">
<div class="form-inline">
<div class="form-group mr-sm-3">
<label for="inputPeerUserId" class="sr-only">كلمه السر</label>
<input type="text" class="form-control" id="inputPeerUserId" placeholder="Enter your friends ID">
</div>
<button type="button" class="btn btn-outline-primary" id='connect-btn'>الاتصال</button>
</div>
</div>
<div class="col-lg-6 col-md-6 mb-4">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title" style="text-align: right;">مستخدمين متصلين</h3>
</div>
<div class="panel-body">
<ul class="onlinepeers"></ul>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="container-fluid chat-container">
<div class="row">
</div>
</div>
<div class="portfolio-modal modal" id="videoCallPanel" tabindex="-1" role="dialog" data-keyboard="false" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="close-modal end-call hide" data-dismiss="modal">
<div class="lr">
<div class="rl">
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="modal-body">
<h2 class="title" style="text-align: right;">مكالمة فيديو</h2>
<div class="pure-u-2-3" id="video-container">
<video id="their-video" autoplay=""></video>
<video id="my-video" muted="true" autoplay=""></video>
</div>
<div class="text-center mt-3" style="text-align: right;">
<button type="button" class="btn btn-secondary mute-audio ml-3 mt-2"><i class="fa fa-microphone-slash"></i>كتم الصوت</button>
<button type="button" class="btn btn-secondary mute-video ml-3 mt-2"><i class="fa fa-video-camera"></i>كتم الفيديو</button>
<button type="button" class="btn btn-danger end-call ml-3 mt-2" data-dismiss="modal"><i class="fa fa-times"></i>إنهاء المكالمة</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal" id="getUserNameModal" tabindex="-1" role="dialog" data-keyboard="false" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop='static'>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel" style="text-align: right;"> أدخل أسمك</h5>
</div>
<div class="modal-body">
<div class="form-group">
<input type="text" class="form-control" id="user-name">
</div>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn btn-primary username-done">تاكيد</button>
</div>
</div>
</div>
</div>
<div class="modal" id="callConfirmationModal" tabindex="-1" role="dialog" data-keyboard="false" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop='static'>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title peer-name"></h5>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger reject-call" data-dismiss="modal">رفض</button>
<button type="button" class="btn btn-primary accept-call" data-dismiss="modal">قبول</button>
</div>
</div>
</div>
</div>
<footer>
<p style="text-align: center; color: white;">ابقى_في المنزل_ابقى_امان#</p>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js"></script>
<script src="js/peer.js"></script>
<script src="js/app.js"></script>
<script src="js/peer-client.js"></script>
</body>
</html>