Merge pull request #1322 from jitsi/livestream_help_link
livestream link help link
This commit is contained in:
commit
94391234cc
|
@ -8,4 +8,13 @@
|
|||
text-decoration: underline;
|
||||
@include transition(color .1s ease-in);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper links are links that are meant to open a documentation page or more
|
||||
* detailed info.
|
||||
*/
|
||||
.helper-link {
|
||||
@extend .link;
|
||||
font-size: 12px;
|
||||
}
|
|
@ -70,5 +70,7 @@ var interfaceConfig = { // eslint-disable-line no-unused-vars
|
|||
AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
|
||||
POLICY_LOGO: null,
|
||||
LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
|
||||
REMOTE_THUMBNAIL_RATIO: 1 //1:1
|
||||
REMOTE_THUMBNAIL_RATIO: 1, //1:1
|
||||
// Documentation reference for the live streaming feature.
|
||||
LIVE_STREAMING_HELP_LINK: "https://jitsi.org/live"
|
||||
};
|
||||
|
|
|
@ -387,6 +387,7 @@
|
|||
"failedToStart": "Live streaming failed to start",
|
||||
"buttonTooltip": "Start / Stop live stream",
|
||||
"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.",
|
||||
"busy": "All recorders are currently busy. Please try again later."
|
||||
}
|
||||
|
|
|
@ -51,6 +51,9 @@ function _requestLiveStreamId() {
|
|||
const streamIdRequired
|
||||
= APP.translation.generateTranslationHTML(
|
||||
"liveStreaming.streamIdRequired");
|
||||
const streamIdHelp
|
||||
= APP.translation.generateTranslationHTML(
|
||||
"liveStreaming.streamIdHelp");
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
dialog = APP.UI.messageHandler.openDialogWithStates({
|
||||
|
@ -60,7 +63,11 @@ function _requestLiveStreamId() {
|
|||
`<input class="input-control"
|
||||
name="streamId" type="text"
|
||||
data-i18n="[placeholder]dialog.streamKey"
|
||||
autofocus>`,
|
||||
autofocus><div style="text-align: right">
|
||||
<a class="helper-link" target="_new"
|
||||
href="${interfaceConfig.LIVE_STREAMING_HELP_LINK}">`
|
||||
+ streamIdHelp
|
||||
+ `</a></div>`,
|
||||
persistent: false,
|
||||
buttons: [
|
||||
{title: cancelButton, value: false},
|
||||
|
|
Loading…
Reference in New Issue