Alpha version.

This commit is contained in:
John Livingston
2021-02-19 18:21:40 +01:00
parent 560d63a20a
commit f927af4d91
4 changed files with 185 additions and 31 deletions

17
main.js
View File

@ -7,6 +7,13 @@ async function register ({
videoLicenceManager,
videoLanguageManager
}) {
registerSetting({
name: 'chat-auto-display',
label: 'Automatically open the chat',
type: 'input-checkbox',
default: false,
private: false
})
registerSetting({
name: 'chat-all-lives',
label: 'Activate chat for all lives',
@ -44,7 +51,15 @@ async function register ({
'Example : https://my_domain/conversejs.html?room=video_{{VIDEO_UUID}}.',
private: false
})
registerSetting({
name: 'chat-style',
label: 'Webchat iframe style attribute',
type: 'input-textarea',
default: '',
descriptionHTML: 'Additional styles to be added on the iframe style attribute. <br>' +
'Example: height:400px;',
private: false
})
}
async function unregister () {