diff --git a/app/components/public/session-item.hbs b/app/components/public/session-item.hbs index daf02975099..2038f919b19 100644 --- a/app/components/public/session-item.hbs +++ b/app/components/public/session-item.hbs @@ -6,10 +6,10 @@ {{@session.title}} {{#if @session.microlocation.videoStream}} - - - + {{/if}} {{#unless @hideSessionLink}} @@ -90,8 +90,26 @@ {{/if}} - {{#if @session.microlocation.videoStream.additionalInformation}} + {{#if @session.microlocation.videoStream}}

+ {{t 'Join Video Channel'}} + {{#if @session.microlocation.videoStream.password}} +

+ {{t 'Password'}}: + + +
+
+ {{@session.microlocation.videoStream.password}} +
+
+ +
+
+
+
+
+ {{/if}} {{@session.microlocation.videoStream.additionalInformation}}

{{/if}} diff --git a/app/components/public/stream/video-stream.ts b/app/components/public/stream/video-stream.ts index f4a584fb44d..ae9c58384cd 100644 --- a/app/components/public/stream/video-stream.ts +++ b/app/components/public/stream/video-stream.ts @@ -69,6 +69,8 @@ export default class PublicStreamVideoStream extends Component { (this.app as HTMLElement).innerHTML = ''; const api = new window.JitsiMeetExternalAPI(domain, options); + api.executeCommand('subject', stream.name); + if (stream.password) { api.addEventListener('participantRoleChanged', (event: any) => { if (event.role === 'moderator') { diff --git a/app/styles/libs/_helpers.scss b/app/styles/libs/_helpers.scss index b4181e234f5..de4c98df21c 100644 --- a/app/styles/libs/_helpers.scss +++ b/app/styles/libs/_helpers.scss @@ -70,3 +70,11 @@ $spacer-heights: 50 100 200 300 400 500 600 700 800 900; .d-inline { display: inline; } + +.d-inline-block { + display: inline-block; +} + +.items-center { + align-items: center; +}