2022-07-11 15:32:36 +02:00
|
|
|
<div class="prejoin-toolbar">
|
|
|
|
<mat-toolbar id="toolbar">
|
|
|
|
<img *ngIf="!isMinimal && showLogo" id="branding-logo" src="assets/images/logo.png" ovLogo />
|
|
|
|
<!-- <span>OpenVidu Call</span> -->
|
|
|
|
<span class="spacer"></span>
|
2022-05-13 17:11:04 +02:00
|
|
|
|
2022-07-11 15:32:36 +02:00
|
|
|
<ov-lang-selector *ngIf="!isMinimal" (onLangSelectorClicked)="onDeviceSelectorClicked()"></ov-lang-selector>
|
|
|
|
</mat-toolbar>
|
|
|
|
</div>
|
2022-05-13 17:11:04 +02:00
|
|
|
|
2022-09-07 12:01:04 +02:00
|
|
|
<div class="container" id="prejoin-container" fxLayout.landscape="row" fxLayout.lt-md="column" fxLayout.md="row" fxLayout.gt-md="row">
|
|
|
|
<div fxFlex.lt-sm="50%" fxFlex.lt-md="50%" fxFlex.md="45%" fxFlex.gt-md="45%" fxLayoutAlign="center center" id="layout-container">
|
|
|
|
<ov-session [usedInPrejoinPage]="true" class="ov-session">
|
2022-04-25 16:17:32 +02:00
|
|
|
<ng-template #panel *ngIf="!isMinimal && showBackgroundEffectsButton">
|
|
|
|
<ov-panel>
|
|
|
|
<ng-template #backgroundEffectsPanel>
|
|
|
|
<ov-background-effects-panel></ov-background-effects-panel>
|
|
|
|
</ng-template>
|
|
|
|
</ov-panel>
|
2022-03-02 11:00:58 +01:00
|
|
|
</ng-template>
|
2022-04-25 16:17:32 +02:00
|
|
|
|
|
|
|
<ng-template #layout>
|
|
|
|
<ov-layout>
|
|
|
|
<ng-template #stream let-stream>
|
|
|
|
<button
|
2022-05-10 17:18:33 +02:00
|
|
|
*ngIf="!isMinimal && showBackgroundEffectsButton"
|
|
|
|
[disabled]="isVideoMuted"
|
2022-05-13 17:11:04 +02:00
|
|
|
matTooltip="{{ 'TOOLBAR.BACKGROUND' | translate }}"
|
2022-04-25 16:17:32 +02:00
|
|
|
mat-icon-button
|
|
|
|
id="background-effects-btn"
|
|
|
|
(click)="toggleBackgroundEffects()"
|
|
|
|
>
|
|
|
|
<mat-icon>auto_awesome</mat-icon>
|
|
|
|
</button>
|
|
|
|
<ov-stream [stream]="stream" [displayParticipantName]="false" [settingsButton]="false"></ov-stream>
|
|
|
|
</ng-template>
|
|
|
|
</ov-layout>
|
|
|
|
</ng-template>
|
|
|
|
</ov-session>
|
2022-03-02 11:00:58 +01:00
|
|
|
</div>
|
2022-09-07 12:01:04 +02:00
|
|
|
<div fxFlex.lt-md="50%" fxFlex.md="55%" fxFlex.gt-md="55%" fxLayoutAlign="center center" class="media-panel" *ngIf="localParticipant">
|
2022-03-02 11:00:58 +01:00
|
|
|
<div fxLayout="column" fxLayoutGap="10px" class="media-panel-container">
|
|
|
|
<div fxLayout.gt-sm="column" fxLayout.lt-md="column" fxLayoutGap="10px" fxFlex="33%">
|
|
|
|
<div fxFlex.gt-sm="100%" fxFlex.lt-md="33%" fxLayoutAlign="center center" fxFlexFill class="nickname-container">
|
2022-05-13 17:11:04 +02:00
|
|
|
<h4 *ngIf="windowSize >= 960">{{ 'PREJOIN.NICKNAME_SECTION' | translate }}</h4>
|
2022-04-25 16:17:32 +02:00
|
|
|
<hr *ngIf="windowSize >= 960" />
|
2022-06-16 14:01:07 +02:00
|
|
|
<ov-nickname-input></ov-nickname-input>
|
2022-03-02 11:00:58 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div fxFlex.gt-sm="100%" fxFlex.lt-md="33%" fxLayoutAlign="center center" fxFlexFill class="buttons-container">
|
2022-05-13 17:11:04 +02:00
|
|
|
<h4 *ngIf="windowSize >= 960">{{ 'PREJOIN.DEVICE_SECTION' | translate }}</h4>
|
2022-04-25 16:17:32 +02:00
|
|
|
<hr *ngIf="windowSize >= 960" />
|
2022-06-16 14:01:07 +02:00
|
|
|
|
2022-03-02 11:00:58 +01:00
|
|
|
<!-- Camera -->
|
2022-07-11 13:05:28 +02:00
|
|
|
<ov-video-devices-select (onDeviceSelectorClicked)="onDeviceSelectorClicked()"></ov-video-devices-select>
|
2022-03-02 11:00:58 +01:00
|
|
|
|
|
|
|
<!-- Microphone -->
|
2022-07-11 13:05:28 +02:00
|
|
|
<ov-audio-devices-select (onDeviceSelectorClicked)="onDeviceSelectorClicked()"></ov-audio-devices-select>
|
2022-03-02 11:00:58 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div fxFlex.gt-sm="60%" fxLayout.lt-md="column" fxLayoutAlign="center center" fxFlexFill class="join-btn-container">
|
2022-05-13 17:11:04 +02:00
|
|
|
<button mat-flat-button (click)="joinSession()" form="nicknameForm" id="join-button">
|
|
|
|
{{ 'PREJOIN.JOIN' | translate }}
|
|
|
|
</button>
|
2022-03-02 11:00:58 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|