From dcd3a356821b77d4684ca4c68c875082f502e25e Mon Sep 17 00:00:00 2001 From: Joel Calado Date: Sun, 28 Mar 2021 18:06:52 +0100 Subject: [PATCH 1/2] message cards for info, warnings; use them on &fs --- index.html | 18 ++++++++++++++--- main.css | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 794bb32..1faf5bd 100644 --- a/index.html +++ b/index.html @@ -583,9 +583,21 @@ SELECT THE VIDEO FILES TO SHARE



-

Keep this tab visible if using Chrome, else the video playback will stop

-

(Media file streaming is still quite experimental)


-

File Sharing seems to be broken on Chrome v88.
Using The Electron Capture app instead of Chrome should work: GET IT HERE
You can also turn off hardware-accleration in Chrome/Edge to fix the issue.

+
+

Warning

+

Media file streaming is still quite experimental. Please do not rely on it heavily for your productions. Feedback welcome.

+
+
+

Chrome users

+

Keep this tab visible if using Chrome, else the video playback will stop

+
+
+

File Sharing seems to be broken on Chrome v88.

+

Using The Electron Capture app instead of Chrome should work: + GET IT HERE +
+ You can also turn off hardware-accleration in Chrome/Edge to fix the issue.

+
diff --git a/main.css b/main.css index 6144ead..de71329 100644 --- a/main.css +++ b/main.css @@ -2352,6 +2352,65 @@ span#guestTips { display:none; } +div.message-card { + padding: 10px; + display: block; + padding-left: 1em; + align-items: center; + width: 600px; + margin: 0 auto; + position: relative; + padding-left: 60px; + margin: 0 auto; + margin-bottom: 20px; + box-shadow: 0px 5px 10px -5px #a9a9a9; +} + +div.message-card a { + color: rgb(0 77 218); + font-weight: bold; + text-decoration: underline; +} + +.warning.message-card { + border-left: 4px solid #eff150; + background: #fffded; +} +.info.message-card { + border-left: 4px solid #aacefd; + background: #e6e8f0; +} + +.message-card h1 { + display: block; + font-size: 110%; + text-align: left; +} + +.message-card p { + display: block; + text-align: left; + margin-top: 10px; +} + +div.message-card:before { + font-family: 'Line Awesome Free'; + font-weight: 900; + font-size: 2em; + margin-right: 0.5em; + position: absolute; + top: 6px; + left: 10px; +} + +div.message-card.warning:before { + content: "\f071"; +} + +div.message-card.info:before { + content: "\f05a"; +} + @keyframes floating { 0% { transform: translate(0, 0px); } 50% { transform: translate(0, 15%); } From 36b25b7ab716ee6972a51cebdc00f68c72469c10 Mon Sep 17 00:00:00 2001 From: Joel Calado Date: Mon, 29 Mar 2021 00:05:03 +0100 Subject: [PATCH 2/2] Update pt.json --- translations/pt.json | 100 +++++++++++++++++++++---------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/translations/pt.json b/translations/pt.json index a593bf8..94cbd66 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -36,55 +36,55 @@ "send-direct-message": "Enviar mensagem direta", "advanced-settings-and-remote-control": "Opções avançadas e Controlo Remoto", "toggle-voice-chat-with-this-guest": "Ativar/desativar conversa de voz com este convidado", - "join-by-room-name-here": "Enter a room name to quick join", - "join-room": "Join room", - "share-a-screen-with-others": "Share a Screen with others", - "alert-the-host-you-want-to-speak": "Alert the host you want to speak", - "record-your-stream-to-disk": "Record your stream to disk", + "join-by-room-name-here": "Introduza o nome de uma sala", + "join-room": "Entrar na sala", + "share-a-screen-with-others": "Partilhar o ecrã", + "alert-the-host-you-want-to-speak": "Avise o anfitrião que deseja falar", + "record-your-stream-to-disk": "Guarde o seu stream para o disco", "cancel-the-director-s-video-audio": "Cancel the Director's Video/Audio", - "submit-any-error-logs": "Submit any error logs", - "add-group-chat-to-obs": "Add Group Chat to OBS", + "submit-any-error-logs": "Submeta registos de erros", + "add-group-chat-to-obs": "Adicionar conversa de grupo ao OBS", "for-large-group-rooms-this-option-can-reduce-the-load-on-remote-guests-substantially": "For large group rooms, this option can reduce the load on remote guests substantially", - "which-video-codec-would-you-want-used-by-default-": "Which video codec would you want used by default?", - "you-ll-enter-as-the-room-s-director": "You'll enter as the room's director", - "add-your-camera-to-obs": "Add your Camera to OBS", - "remote-screenshare-into-obs": "Remote Screenshare into OBS", - "create-reusable-invite": "Create Reusable Invite", - "encode-the-url-so-that-it-s-harder-for-a-guest-to-modify-the-settings-": "Encode the URL so that it's harder for a guest to modify the settings.", - "more-options": "More Options", - "youtube-video-demoing-how-to-do-this": "Youtube Video demoing how to do this", - "invite-a-guest-or-camera-source-to-publish-into-the-group-room": "Invite a guest or camera source to publish into the group room", - "if-enabled-the-invited-guest-will-not-be-able-to-see-or-hear-anyone-in-the-room-": "If enabled, the invited guest will not be able to see or hear anyone in the room.", - "use-this-link-in-the-obs-browser-source-to-capture-the-video-or-audio": "Use this link in the OBS Browser Source to capture the video or audio", - "if-enabled-you-must-manually-add-a-video-to-a-scene-for-it-to-appear-": "If enabled, you must manually add a video to a scene for it to appear.", - "disables-echo-cancellation-and-improves-audio-quality": "Disables Echo Cancellation and improves audio quality", - "audio-only-sources-are-visually-hidden-from-scenes": "Audio-only sources are visually hidden from scenes", - "guest-will-be-prompted-to-enter-a-display-name": "Guest will be prompted to enter a Display Name", - "display-names-will-be-shown-in-the-bottom-left-corner-of-videos": "Display Names will be shown in the bottom-left corner of videos", - "request-1080p60-from-the-guest-instead-of-720p60-if-possible": "Request 1080p60 from the Guest instead of 720p60, if possible", - "the-default-microphone-will-be-pre-selected-for-the-guest": "The default microphone will be pre-selected for the guest", - "the-default-camera-device-will-selected-automatically": "The default camera device will selected automatically", - "the-guest-won-t-have-access-to-changing-camera-settings-or-screenshare": "The guest won't have access to changing camera settings or screenshare", - "the-guest-will-not-see-their-own-self-preview-after-joining": "The guest will not see their own self-preview after joining", - "guests-will-have-an-option-to-poke-the-director-by-pressing-a-button": "Guests will have an option to poke the Director by pressing a button", - "add-an-audio-compressor-to-the-guest-s-microphone": "Add an audio compressor to the guest's microphone", - "add-an-equalizer-to-the-guest-s-microphone-that-the-director-can-control": "Add an Equalizer to the guest's microphone that the director can control", - "the-guest-can-only-see-the-director-s-video-if-provided": "The guest can only see the Director's video, if provided", - "the-guest-s-microphone-will-be-muted-on-joining-they-can-unmute-themselves-": "The guest's microphone will be muted on joining. They can unmute themselves.", - "have-the-guest-join-muted-so-only-the-director-can-unmute-the-guest-": "Have the guest join muted, so only the director can Unmute the guest.", - "make-the-invite-url-encoded-so-parameters-are-harder-to-tinker-with-by-guests": "Make the invite URL encoded, so parameters are harder to tinker with by guests", - "move-the-user-to-another-room-controlled-by-another-director": "Move the user to another room, controlled by another director", - "send-a-direct-message-to-this-user-": "Send a Direct Message to this user.", - "remotely-change-the-volume-of-this-guest": "Remotely change the volume of this guest", - "mute-this-guest-everywhere": "Mute this guest everywhere", - "start-recording-this-remote-stream-to-this-local-drive-experimental-": "Start Recording this remote stream to this local drive. *experimental*'", - "the-remote-guest-will-record-their-local-stream-to-their-local-drive-experimental-": "The Remote Guest will record their local stream to their local drive. *experimental*", - "shift-this-video-down-in-order": "Shift this Video Down in Order", - "current-index-order-of-this-video": "Current Index Order of this Video", - "shift-this-video-up-in-order": "Shift this Video Up in Order", - "remote-audio-settings": "Remote Audio Settings", - "advanced-video-settings": "Advanced Video Settings", - "activate-or-reload-this-video-device-": "Activate or Reload this video device." + "which-video-codec-would-you-want-used-by-default-": "Qual é o codec de vídeo que deseja usar por omissão?", + "you-ll-enter-as-the-room-s-director": "Vai entrar como o Realizador da sala", + "add-your-camera-to-obs": "Adicione a sua câmera ao OBS", + "remote-screenshare-into-obs": "Partilha de ecrã remota para OBS", + "create-reusable-invite": "Criar convite reutilizável", + "encode-the-url-so-that-it-s-harder-for-a-guest-to-modify-the-settings-": "Obfuscar o URL para tornar mais difícil a um convidado modificar as definições.", + "more-options": "Mais Opções", + "youtube-video-demoing-how-to-do-this": "Vídeo de Youtube a explicar como fazer", + "invite-a-guest-or-camera-source-to-publish-into-the-group-room": "Convide alguém para publicar a câmera no grupo", + "if-enabled-the-invited-guest-will-not-be-able-to-see-or-hear-anyone-in-the-room-": "Se ativado, o utilizador convidado não poderá ver ou ouvir ninguém na sala.", + "use-this-link-in-the-obs-browser-source-to-capture-the-video-or-audio": "Use este link numa fonte Browser do OBS para capturar o vídeo ou áudio", + "if-enabled-you-must-manually-add-a-video-to-a-scene-for-it-to-appear-": "Se ativado, deve adicionar manualmente o vídeo a uma cena para ele aparecer.", + "disables-echo-cancellation-and-improves-audio-quality": "Desativa o Cancelamento de eco e melhora a qualidade de áudio", + "audio-only-sources-are-visually-hidden-from-scenes": "Fontes de áudio são visualmente escondidas das cenas", + "guest-will-be-prompted-to-enter-a-display-name": "O convidado poderá introduzir um nome que o identifique", + "display-names-will-be-shown-in-the-bottom-left-corner-of-videos": "Os nomes serão mostrados no canto inferior esquerdo dos vídeos", + "request-1080p60-from-the-guest-instead-of-720p60-if-possible": "Pedir 1080p60 do convidado, em vez de 720p60, se possível", + "the-default-microphone-will-be-pre-selected-for-the-guest": "O microfone predefinido será selecionado", + "the-default-camera-device-will-selected-automatically": "A câmera predefinida será selecionada automaticamente", + "the-guest-won-t-have-access-to-changing-camera-settings-or-screenshare": "O convidado não terá acesso a alterar as opções de câmera ou partilha de ecrã", + "the-guest-will-not-see-their-own-self-preview-after-joining": "O convidado não verá a sua própria imagem quando entrar", + "guests-will-have-an-option-to-poke-the-director-by-pressing-a-button": "Os convidados terão a opção de chamar a atenção do realizador pressionando um botão", + "add-an-audio-compressor-to-the-guest-s-microphone": "Adicionar um compressor de áudio ao microfone dos convidados", + "add-an-equalizer-to-the-guest-s-microphone-that-the-director-can-control": "Adicionar um equalizador ao microfone dos convidados, controlável pelo realizador", + "the-guest-can-only-see-the-director-s-video-if-provided": "O convidado apenas pode ver o vídeo do realizador, se providenciado", + "the-guest-s-microphone-will-be-muted-on-joining-they-can-unmute-themselves-": "O microfone dos convidados começa em mute. Eles poderão remover o mute.", + "have-the-guest-join-muted-so-only-the-director-can-unmute-the-guest-": "Os convidados começam em mute, apenas o realizador pode ativar o som.", + "make-the-invite-url-encoded-so-parameters-are-harder-to-tinker-with-by-guests": "Obfuscar o link de convite, para dificultar a manipulação por parte dos convidados", + "move-the-user-to-another-room-controlled-by-another-director": "Enviar o utilizador para outra sala, controlada pelo mesmo realizador", + "send-a-direct-message-to-this-user-": "Envie uma Mensagem Direta a este utilizador.", + "remotely-change-the-volume-of-this-guest": "Altere remotamente o volume deste utilizador", + "mute-this-guest-everywhere": "Tire o som a este utilizador em todo o lado", + "start-recording-this-remote-stream-to-this-local-drive-experimental-": "Começar a gravar este stream remoto para este disco local. *experimental*'", + "the-remote-guest-will-record-their-local-stream-to-their-local-drive-experimental-": "O convidado remoto irá gravar o seu stream local para o seu disco local. *experimental*", + "shift-this-video-down-in-order": "Desça a posição deste vídeo", + "current-index-order-of-this-video": "Posição atual deste vídeo", + "shift-this-video-up-in-order": "Suba a posição deste vídeo", + "remote-audio-settings": "Opções de áudio remoto", + "advanced-video-settings": "Opções de vídeo avançadas", + "activate-or-reload-this-video-device-": "Ativar ou recarregar este dispositivo de vídeo." }, "innerHTML": { "logo-header": "OBS.Ninja ", @@ -145,11 +145,11 @@ "change-to-high-quality": "  ", "send-direct-chat": " Enviar mensagem", "advanced-camera-settings": " Avançadas", - "voice-chat": " Voice Chat", + "voice-chat": " Chat de voz", "open-in-new-tab": "Abrir num novo separador", "copy-to-clipboard": "Copiar para área de transferência", "click-for-quick-room-overview": "❔ Clique aqui para uma pequena apresentação e ajuda", - "push-to-talk-enable": "🔊 Ativar Push-to-talk do diretor", + "push-to-talk-enable": "🔊 Ativar Push-to-talk do realizador", "welcome-to-control-room": "Bem-vindo. Esta é a sala de controlo para o chat de grupo. Há diferentes coisas que pode fazer aqui:

\t
  • Pode hospedar um chat de grupo com amigos. Partilhe o link azul para os convidados se juntarem ao chat de forma automática.
  • \t
  • Uma sala de grupo pode hospedar entre 4 a 30 4 to 30 convidados, dependendo de inúmeros factores, incluindo CPU e largura de banda de todos os convidados na sala.
  • \t
  • Visualizações individuais de cada vídeo serão mostradas quando carregam. Estas podem ser usadas em Fontes do tipo Browser no OBS.
  • \t
  • Pode usar a cena de grupo automática, o link verde, para dispôr automaticamente os vídeos por si no OBS.
  • \t
  • Pode usar esta sala de controlo para gravar streams isolados de vídeo ou áudio, mas isto é ainda experimental.
  • \t
  • Vídeos na sala de controle são de baixa qualidade propositadamente; para poupar largura de banda/CPU
  • \t
  • Convidados na sala irão ver-se numa qualidade muito reduzida para conservar largura de banda/CPU.
  • \t
  • OBS tem acesso ao vídeo do convidado em alta qualidade; o bitrate de vídeo por omissão é 2500kbps.
  • \t
    \tÀ medida que os convidados entram, os seus vídeos são mostrados abaixo. Pode levar os seus sinais para o OBS como cenas individuais ou pode adicioná-los à cena de grupo.\t
    A Cena de grupo auto-mistura vídeos que lhe forem adicionados. Note que a auto-mistura requer que os convidados sejam manualmente adicionados; não são adicionados automaticamente.

    Dispositivos móveis Apple, como iPhones e iPads, não suportam totalmente o Chat de Grupo. Este é um constrangimento de hardware.

    \tPara opções avançadas e parâmetros, veja o Wiki.", "more-than-four-can-join": "Estes quatro convidados são apenas ilustrativos. Podem juntar-se mais de quatro convidados numa sala.", "welcome-to-obs-ninja-chat": "\n\t\t\t\t\tBem vindo ao OBS.Ninja! Pode enviar mensagens diretas a quem estiver aqui ligado a partir daqui.\n\t\t\t\t", @@ -166,7 +166,7 @@ "share-screen-with-room": "Partilhar o ecrã com a sala", "join-room-with-camera": "Entrar na sala com câmera", "click-start-to-join": "Clique iniciar para se entrar", - "guests-only-see-director": "Os convidados só podem ver o vídeo do Diretor", + "guests-only-see-director": "Os convidados só podem ver o vídeo do Realizador", "default-codec-select": "Codec de Vídeo preferido: ", "obfuscate_url": "Obfuscar o URL do convite", "hide-the-links": " LINKS (CONVITES & CENAS)",