Fix settings privacy.
This commit is contained in:
parent
6d136a7da0
commit
f4a565ab67
16
main.js
16
main.js
@ -12,28 +12,36 @@ async function register ({
|
|||||||
label: 'Activate chat for all lives',
|
label: 'Activate chat for all lives',
|
||||||
type: 'input-checkbox',
|
type: 'input-checkbox',
|
||||||
default: false,
|
default: false,
|
||||||
descriptionHTML: 'If checked, a chat will be added to all lives.'
|
descriptionHTML: 'If checked, a chat will be added to all lives.',
|
||||||
|
private: false
|
||||||
})
|
})
|
||||||
registerSetting({
|
registerSetting({
|
||||||
name: 'chat-all-non-lives',
|
name: 'chat-all-non-lives',
|
||||||
label: 'Activate chat for all non-lives',
|
label: 'Activate chat for all non-lives',
|
||||||
type: 'input-checkbox',
|
type: 'input-checkbox',
|
||||||
default: false,
|
default: false,
|
||||||
descriptionHTML: 'If checked, a chat will be added to all video that are not lives.'
|
descriptionHTML: 'If checked, a chat will be added to all video that are not lives.',
|
||||||
|
private: false
|
||||||
})
|
})
|
||||||
registerSetting({
|
registerSetting({
|
||||||
name: 'chat-videos-list',
|
name: 'chat-videos-list',
|
||||||
label: 'Activate chat for specific videos',
|
label: 'Activate chat for specific videos',
|
||||||
type: 'input-textarea',
|
type: 'input-textarea',
|
||||||
default: '',
|
default: '',
|
||||||
descriptionHTML: 'Videos UUIDs for which we want a chat. Can be non-live videos. One per line. Don\'t add private videos, the UUIDs will be send to frontend.'
|
descriptionHTML: 'Videos UUIDs for which we want a chat. ' +
|
||||||
|
'Can be non-live videos. One per line. ' +
|
||||||
|
'Don\'t add private videos, the UUIDs will be send to frontend.',
|
||||||
|
private: false
|
||||||
})
|
})
|
||||||
registerSetting({
|
registerSetting({
|
||||||
name: 'chat-uri',
|
name: 'chat-uri',
|
||||||
label: 'Webchat url',
|
label: 'Webchat url',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
default: '',
|
default: '',
|
||||||
descriptionHTML: 'The webchat url. An iframe will be created pointing to this url. The placeholder {{VIDEO_UUID}} will be replace by the video UUID if present. Example : https://my_domain/conversejs.html?room=video_{{VIDEO_UUID}}.'
|
descriptionHTML: 'The webchat url. An iframe will be created pointing to this url. ' +
|
||||||
|
'The placeholder {{VIDEO_UUID}} will be replace by the video UUID if present. ' +
|
||||||
|
'Example : https://my_domain/conversejs.html?room=video_{{VIDEO_UUID}}.',
|
||||||
|
private: false
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-livechat",
|
"name": "peertube-plugin-livechat",
|
||||||
"description": "PeerTube plugin livechat",
|
"description": "PeerTube plugin livechat",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"author": "John Livingston",
|
"author": "John Livingston",
|
||||||
"bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues",
|
"bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues",
|
||||||
"clientScripts": [
|
"clientScripts": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user