index.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Jitsi meet Pas2JS Demo</title>
  7. <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
  8. <script src="https://code.jquery.com/jquery-3.3.1.js" type="text/javascript"></script>
  9. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" type="text/javascript"></script>
  10. <script src='https://meet.jit.si/external_api.js'></script>
  11. <script src="demojitsimeet.js"></script>
  12. </head>
  13. <style>
  14. body {
  15. background-color: #eee;
  16. max-width: 1000px;
  17. margin: auto;
  18. }
  19. </style>
  20. <body>
  21. <div class="container-fluid">
  22. <div id="Options">
  23. <div class="card">
  24. <div class="card-header" id="MeetOptionsHeader">
  25. <h5 class="mb-0">
  26. <button class="btn btn-link" data-toggle="collapse" data-target="#MeetOptions" aria-expanded="true" aria-controls="MeetOptions">
  27. Meeting options
  28. </button>
  29. </h5>
  30. </div>
  31. <div id="MeetOptions" class="collapse show" aria-labelledby="MeetOptionsHeader" data-parent="#Options">
  32. <div class="card-body">
  33. <div class="row" id="controls">
  34. <div class="col-md-6">
  35. <div class="form-group">
  36. <label for="edtServer">Jitsi Server</label>
  37. <input type="text" class="form-control" id="edtServer" aria-describedby="lblServer" placeholder="Jitsi server" value="meet.jit.si">
  38. <small id="lblServer" class="form-text text-muted">Jitsi server to contact.</small>
  39. </div>
  40. <div class="form-group">
  41. <label for="edtRoom">Room name</label>
  42. <input type="text" class="form-control" id="edtRoom" aria-describedby="lblRoom" placeholder="Jitsi room name" value="">
  43. <small id="lblRoom" class="form-text text-muted">Room you want to join.</small>
  44. </div>
  45. </div>
  46. <div class="col-md-6">
  47. <div class="form-group">
  48. <label for="edtEmail">Your email</label>
  49. <input type="text" class="form-control" id="edtEmail" aria-describedby="lblEmail" placeholder="Your email address" value="">
  50. <small id="lblEmail" class="form-text text-muted">Your email so people know who you are.</small>
  51. </div>
  52. <div class="form-group">
  53. <label for="edtNick">Your nickname</label>
  54. <input type="text" class="form-control" id="edtNick" aria-describedby="lblNick" placeholder="Your name in the room" value="">
  55. <small id="lblNick" class="form-text text-muted">Nickname to use in the room.</small>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. <div class="card">
  63. <div class="card-header" id="ConnOptionsHeader">
  64. <h5 class="mb-0">
  65. <button class="btn btn-link" data-toggle="collapse" data-target="#ConnOptions" aria-expanded="true" aria-controls="collapseOne">
  66. GUI elements
  67. </button>
  68. </h5>
  69. </div>
  70. <div id="ConnOptions" class="collapse " aria-labelledby="ConnOptionsHeader" data-parent="#Options">
  71. <div class="card-body">
  72. <div class="row" id="controls">
  73. <div class="col-sm-6 col-md-3">
  74. <div class="form-check">
  75. <input id="uieMicrophone" type="checkbox" class="form-check-input" checked>
  76. <label class="form-check-label" for="uieMicrophone">Microphone</label>
  77. </div>
  78. <div class="form-check">
  79. <input id="uieCamera" type="checkbox" class="form-check-input" checked>
  80. <label class="form-check-label" for="uieCamera">Camera</label>
  81. </div>
  82. <div class="form-check">
  83. <input id="uieClosedCaptions" type="checkbox" class="form-check-input" checked>
  84. <label class="form-check-label" for="uieClosedCaptions">Closed captions</label>
  85. </div>
  86. <div class="form-check">
  87. <input id="uieDesktop" type="checkbox" class="form-check-input" checked>
  88. <label class="form-check-label" for="uieDesktop">Desktop</label>
  89. </div>
  90. </div>
  91. <div class="col-sm-6 col-md-3">
  92. <div class="form-check">
  93. <input id="uieFullScreen" type="checkbox" class="form-check-input" checked>
  94. <label class="form-check-label" for="uieFullScreen">Full Screen</label>
  95. </div>
  96. <div class="form-check">
  97. <input id="uieFODeviceSelection" type="checkbox" class="form-check-input" checked >
  98. <label class="form-check-label" for="uieCamera">Device Selection</label>
  99. </div>
  100. <div class="form-check">
  101. <input id="uieHangup" type="checkbox" class="form-check-input" checked>
  102. <label class="form-check-label" for="uieHangup">Hangup</label>
  103. </div>
  104. <div class="form-check">
  105. <input id="uieChat" type="checkbox" class="form-check-input" checked>
  106. <label class="form-check-label" for="uieChat">Chat</label>
  107. </div>
  108. </div>
  109. <div class="col-sm-6 col-md-3">
  110. <div class="form-check">
  111. <input id="uieLiveStreaming" type="checkbox" class="form-check-input" checked>
  112. <label class="form-check-label" for="uieLiveStreaming">Live Streaming</label>
  113. </div>
  114. <div class="form-check">
  115. <input id="uieEtherPad" type="checkbox" class="form-check-input" checked>
  116. <label class="form-check-label" for="uieEtherPad">Ether Pad</label>
  117. </div>
  118. <div class="form-check">
  119. <input id="uieSharedVideo" type="checkbox" class="form-check-input" checked>
  120. <label class="form-check-label" for="uieSharedVideo">Shared Video</label>
  121. </div>
  122. <div class="form-check">
  123. <input id="uieSettings" type="checkbox" class="form-check-input" checked>
  124. <label class="form-check-label" for="uieSettings">Settings</label>
  125. </div>
  126. </div>
  127. <div class="col-sm-6 col-md-3">
  128. <div class="form-check">
  129. <input id="uieVideoQuality" type="checkbox" class="form-check-input" checked>
  130. <label class="form-check-label" for="uieVideoQuality">Video Quality</label>
  131. </div>
  132. <div class="form-check">
  133. <input id="uieFilmStrip" type="checkbox" class="form-check-input" checked>
  134. <label class="form-check-label" for="uieFilmStrip">Film strip</label>
  135. </div>
  136. <div class="form-check">
  137. <input id="uieFeedBack" type="checkbox" class="form-check-input" checked>
  138. <label class="form-check-label" for="uieFeedBack">Shared Video</label>
  139. </div>
  140. <div class="form-check">
  141. <input id="uieStats" type="checkbox" class="form-check-input" checked>
  142. <label class="form-check-label" for="uieStats">Stats</label>
  143. </div>
  144. </div>
  145. <!-- uieHelp, uieMuteEveryone,
  146. uieProfile, uieInfo, uieRaiseHand, uieInvite -->
  147. <div class="col-sm-6 col-md-3">
  148. <div class="form-check">
  149. <input id="uieShortCuts" type="checkbox" class="form-check-input" checked>
  150. <label class="form-check-label" for="uieShortCuts">ShortCuts</label>
  151. </div>
  152. <div class="form-check">
  153. <input id="uieTileView" type="checkbox" class="form-check-input" checked>
  154. <label class="form-check-label" for="uieTileView">Tile View</label>
  155. </div>
  156. <div class="form-check">
  157. <input id="uieVideoBackgroundBlur" type="checkbox" class="form-check-input" checked>
  158. <label class="form-check-label" for="uieVideoBackgroundBlur">Video Background Blur</label>
  159. </div>
  160. <div class="form-check">
  161. <input id="uieDownload" type="checkbox" class="form-check-input" checked>
  162. <label class="form-check-label" for="uieDownload">Download</label>
  163. </div>
  164. </div>
  165. <div class="col-sm-6 col-md-3">
  166. <div class="form-check">
  167. <input id="uieHelp" type="checkbox" class="form-check-input" checked>
  168. <label class="form-check-label" for="uieHelp">Help</label>
  169. </div>
  170. <div class="form-check">
  171. <input id="uieMuteEveryone" type="checkbox" class="form-check-input" checked >
  172. <label class="form-check-label" for="uieMuteEveryone">Mute Everyone</label>
  173. </div>
  174. <div class="form-check">
  175. <input id="uieProfile" type="checkbox" class="form-check-input" checked>
  176. <label class="form-check-label" for="uieProfile">Profile</label>
  177. </div>
  178. <div class="form-check">
  179. <input id="uieInfo" type="checkbox" class="form-check-input" checked>
  180. <label class="form-check-label" for="uieInfo">Info</label>
  181. </div>
  182. </div>
  183. <div class="col-sm-6 col-md-3">
  184. <div class="form-check">
  185. <input id="uieRaiseHand" type="checkbox" class="form-check-input" checked>
  186. <label class="form-check-label" for="uieRaiseHand">Raise Hand</label>
  187. </div>
  188. <div class="form-check">
  189. <input id="uieInvite" type="checkbox" class="form-check-input" checked>
  190. <label class="form-check-label" for="uieInvite">Invite</label>
  191. </div>
  192. <div class="form-check">
  193. <input id="uieRecording" type="checkbox" class="form-check-input" checked>
  194. <label class="form-check-label" for="uieRecording">Recording</label>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. <div class="row mt-3" id="buttons">
  203. <div class="col-6 col-sm-4 col-md-3">
  204. <button class="btn btn-primary btn-block" id="btnConnect">Join Jitsi meeting</button>
  205. </div>
  206. <div class="col-6 col-sm-4 col-md-3">
  207. <button class="btn btn-primary btn-block" id="btnDisconnect" disabled>End Jitsi meeting</button>
  208. </div>
  209. </div>
  210. <div class="row mt-3 ml-1 text-muted">
  211. Created using &nbsp; <a target="_blank" href="https://wiki.freepascal.org/pas2js">pas2js.</a> &nbsp;&nbsp;
  212. Sources: &nbsp; <a target="new" href="demojitsimeet.lpr">Program</a>
  213. </div>
  214. <div class="row">
  215. <div id="jitsi-container" class="col-md-12" style="height: 66vh;">
  216. <div id="jitsi" style="height: 100%;">
  217. </div>
  218. </div>
  219. </div>
  220. <script>
  221. window.addEventListener("load", rtl.run);
  222. </script>
  223. </body>
  224. </html>