2021-02-20 19:42:41 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="no-js">
|
|
|
|
<head>
|
2021-11-26 16:33:55 +00:00
|
|
|
<title>Peertube LiveChat Plugin</title>
|
2021-02-20 19:42:41 +00:00
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
2021-11-26 16:33:55 +00:00
|
|
|
<meta name="description" content="Peertube LiveChat Plugin"/>
|
2021-05-18 16:17:13 +00:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="{{BASE_STATIC_URL}}conversejs/converse.min.css" />
|
|
|
|
<script type="text/javaScript" src="{{BASE_STATIC_URL}}conversejs/converse.min.js"></script>
|
|
|
|
<script type="text/javascript" src="{{BASE_STATIC_URL}}static/builtin.js"></script>
|
2021-11-19 15:45:10 +00:00
|
|
|
{{CONVERSEJS_AUTOCOLORS}}
|
2021-02-20 19:42:41 +00:00
|
|
|
</head>
|
2021-11-09 16:45:54 +00:00
|
|
|
<body class="converse-fullscreen theme-peertube">
|
2021-02-20 19:42:41 +00:00
|
|
|
<noscript>You need to enable JavaScript to run the Converse.js chat app.</noscript>
|
2021-11-09 16:45:54 +00:00
|
|
|
<div id="conversejs-bg" class="theme-peertube"></div>
|
2021-02-21 14:21:30 +00:00
|
|
|
<script type="text/javascript">
|
2021-02-20 19:42:41 +00:00
|
|
|
initConverse({
|
2021-02-20 22:12:12 +00:00
|
|
|
jid: '{{JID}}',
|
2021-05-18 16:17:13 +00:00
|
|
|
assetsPath : '{{BASE_STATIC_URL}}conversejs/',
|
2021-02-20 19:42:41 +00:00
|
|
|
room: '{{ROOM}}',
|
2021-02-20 22:12:12 +00:00
|
|
|
boshServiceUrl: '{{BOSH_SERVICE_URL}}',
|
|
|
|
websocketServiceUrl: '{{WS_SERVICE_URL}}',
|
2021-05-05 15:20:06 +00:00
|
|
|
authenticationUrl: '{{AUTHENTICATION_URL}}',
|
2021-12-14 10:59:36 +00:00
|
|
|
advancedControls: '{{ADVANCEDCONTROLS}}' === 'true',
|
2021-12-14 12:02:15 +00:00
|
|
|
theme: '{{CONVERSEJS_THEME}}',
|
2022-01-04 16:42:03 +00:00
|
|
|
forceReadonly: '{{FORCEREADONLY}}' === 'noscroll' ? '{{FORCEREADONLY}}' : '{{FORCEREADONLY}}' === 'true'
|
2021-02-20 19:42:41 +00:00
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|