Przeglądaj źródła

livestream link to provide more context to users on where to retrieve their stream key

master
Aaron van Meerten 8 lat temu
rodzic
commit
732a433ec1
2 zmienionych plików z 6 dodań i 1 usunięć
  1. 1
    0
      lang/main.json
  2. 5
    1
      modules/UI/recording/Recording.js

+ 1
- 0
lang/main.json Wyświetl plik

387
         "failedToStart": "Live streaming failed to start",
387
         "failedToStart": "Live streaming failed to start",
388
         "buttonTooltip": "Start / Stop live stream",
388
         "buttonTooltip": "Start / Stop live stream",
389
         "streamIdRequired": "Please fill in the stream id in order to launch the live streaming.",
389
         "streamIdRequired": "Please fill in the stream id in order to launch the live streaming.",
390
+        "streamIdHelp": "Where do I find this?",
390
         "error": "Live streaming failed. Please try again.",
391
         "error": "Live streaming failed. Please try again.",
391
         "busy": "All recorders are currently busy. Please try again later."
392
         "busy": "All recorders are currently busy. Please try again later."
392
     }
393
     }

+ 5
- 1
modules/UI/recording/Recording.js Wyświetl plik

51
     const streamIdRequired
51
     const streamIdRequired
52
         = APP.translation.generateTranslationHTML(
52
         = APP.translation.generateTranslationHTML(
53
             "liveStreaming.streamIdRequired");
53
             "liveStreaming.streamIdRequired");
54
+    const streamIdHelp
55
+        = APP.translation.generateTranslationHTML(
56
+            "liveStreaming.streamIdHelp");
54
 
57
 
55
     return new Promise(function (resolve, reject) {
58
     return new Promise(function (resolve, reject) {
56
         dialog = APP.UI.messageHandler.openDialogWithStates({
59
         dialog = APP.UI.messageHandler.openDialogWithStates({
60
                     `<input  class="input-control"
63
                     `<input  class="input-control"
61
                     name="streamId" type="text"
64
                     name="streamId" type="text"
62
                     data-i18n="[placeholder]dialog.streamKey"
65
                     data-i18n="[placeholder]dialog.streamKey"
63
-                    autofocus>`,
66
+                    autofocus><div style="text-align: right">
67
+                    <a class="link" target="_new" href="https://jitsi.org/live">`+streamIdHelp+`</a></div>`,
64
                 persistent: false,
68
                 persistent: false,
65
                 buttons: [
69
                 buttons: [
66
                     {title: cancelButton, value: false},
70
                     {title: cancelButton, value: false},

Ładowanie…
Anuluj
Zapisz