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({
|
2023-05-04 17:14:23 +00:00
|
|
|
isRemoteChat: '{{IS_REMOTE_CHAT}}' === 'true',
|
|
|
|
localAnonymousJID: '{{LOCAL_ANONYMOUS_JID}}',
|
|
|
|
remoteAnonymousJID: '{{REMOTE_ANONYMOUS_JID}}' === '' ? null : '{{REMOTE_ANONYMOUS_JID}}',
|
2023-04-21 14:56:48 +00:00
|
|
|
remoteAnonymousXMPPServer: '{{REMOTE_ANONYMOUS_XMPP_SERVER}}' === 'true',
|
2023-05-04 17:14:23 +00:00
|
|
|
remoteAuthenticatedXMPPServer: '{{REMOTE_AUTHENTICATED_XMPP_SERVER}}' === 'true',
|
2021-05-18 16:17:13 +00:00
|
|
|
assetsPath : '{{BASE_STATIC_URL}}conversejs/',
|
2021-02-20 19:42:41 +00:00
|
|
|
room: '{{ROOM}}',
|
2023-05-04 17:14:23 +00:00
|
|
|
localBoshServiceUrl: '{{LOCAL_BOSH_SERVICE_URL}}' === '' ? null : '{{LOCAL_BOSH_SERVICE_URL}}',
|
|
|
|
localWebsocketServiceUrl: '{{LOCAL_WS_SERVICE_URL}}' === '' ? null : '{{LOCAL_WS_SERVICE_URL}}',
|
|
|
|
remoteBoshServiceUrl: '{{REMOTE_BOSH_SERVICE_URL}}' === '' ? null : '{{REMOTE_BOSH_SERVICE_URL}}',
|
|
|
|
remoteWebsocketServiceUrl: '{{REMOTE_WS_SERVICE_URL}}' === '' ? null : '{{REMOTE_WS_SERVICE_URL}}',
|
2021-05-05 15:20:06 +00:00
|
|
|
authenticationUrl: '{{AUTHENTICATION_URL}}',
|
2022-01-07 18:20:28 +00:00
|
|
|
autoViewerMode: '{{AUTOVIEWERMODE}}' === 'true',
|
2021-12-14 12:02:15 +00:00
|
|
|
theme: '{{CONVERSEJS_THEME}}',
|
2022-01-16 16:50:11 +00:00
|
|
|
forceReadonly: '{{FORCEREADONLY}}' === 'noscroll' ? '{{FORCEREADONLY}}' : '{{FORCEREADONLY}}' === 'true',
|
|
|
|
transparent: '{{TRANSPARENT}}' === 'true'
|
2021-02-20 19:42:41 +00:00
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|