livestream link to provide more context to users on where to retrieve their stream key
This commit is contained in:
parent
f7dcd1ba2c
commit
732a433ec1
|
@ -387,6 +387,7 @@
|
||||||
"failedToStart": "Live streaming failed to start",
|
"failedToStart": "Live streaming failed to start",
|
||||||
"buttonTooltip": "Start / Stop live stream",
|
"buttonTooltip": "Start / Stop live stream",
|
||||||
"streamIdRequired": "Please fill in the stream id in order to launch the live streaming.",
|
"streamIdRequired": "Please fill in the stream id in order to launch the live streaming.",
|
||||||
|
"streamIdHelp": "Where do I find this?",
|
||||||
"error": "Live streaming failed. Please try again.",
|
"error": "Live streaming failed. Please try again.",
|
||||||
"busy": "All recorders are currently busy. Please try again later."
|
"busy": "All recorders are currently busy. Please try again later."
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,9 @@ function _requestLiveStreamId() {
|
||||||
const streamIdRequired
|
const streamIdRequired
|
||||||
= APP.translation.generateTranslationHTML(
|
= APP.translation.generateTranslationHTML(
|
||||||
"liveStreaming.streamIdRequired");
|
"liveStreaming.streamIdRequired");
|
||||||
|
const streamIdHelp
|
||||||
|
= APP.translation.generateTranslationHTML(
|
||||||
|
"liveStreaming.streamIdHelp");
|
||||||
|
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
dialog = APP.UI.messageHandler.openDialogWithStates({
|
dialog = APP.UI.messageHandler.openDialogWithStates({
|
||||||
|
@ -60,7 +63,8 @@ function _requestLiveStreamId() {
|
||||||
`<input class="input-control"
|
`<input class="input-control"
|
||||||
name="streamId" type="text"
|
name="streamId" type="text"
|
||||||
data-i18n="[placeholder]dialog.streamKey"
|
data-i18n="[placeholder]dialog.streamKey"
|
||||||
autofocus>`,
|
autofocus><div style="text-align: right">
|
||||||
|
<a class="link" target="_new" href="https://jitsi.org/live">`+streamIdHelp+`</a></div>`,
|
||||||
persistent: false,
|
persistent: false,
|
||||||
buttons: [
|
buttons: [
|
||||||
{title: cancelButton, value: false},
|
{title: cancelButton, value: false},
|
||||||
|
|
Loading…
Reference in New Issue