2022-05-13 17:11:04 +02:00
|
|
|
<mat-toolbar class="prejoin-toolbar">
|
|
|
|
<img *ngIf="!isMinimal && showLogo" id="branding-logo" src="assets/images/logo.png" ovLogo />
|
|
|
|
<!-- <span>OpenVidu Call</span> -->
|
|
|
|
<span class="spacer"></span>
|
|
|
|
|
2022-06-16 14:01:07 +02:00
|
|
|
<ov-lang-selector *ngIf="!isMinimal"></ov-lang-selector>
|
|
|
|
|
2022-05-13 17:11:04 +02:00
|
|
|
</mat-toolbar>
|
|
|
|
|
2022-03-16 12:15:22 +01:00
|
|
|
<div class="container" id="prejoin-container" fxLayout.gt-sm="row" fxLayout.lt-md="column">
|
2022-03-11 11:41:31 +01:00
|
|
|
<div fxFlex.gt-sm="65%" fxFlex.lt-md="55%" fxLayoutAlign="center center" id="layout-container">
|
2022-04-25 16:17:32 +02:00
|
|
|
<ov-session [usedInPrejoinPage]="true">
|
|
|
|
<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-03-03 10:59:17 +01:00
|
|
|
<div fxFlex.gt-sm="35%" fxFlex.lt-md="45%" 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-06-16 14:01:07 +02:00
|
|
|
<ov-video-devices-select></ov-video-devices-select>
|
2022-03-02 11:00:58 +01:00
|
|
|
|
|
|
|
<!-- Microphone -->
|
2022-06-16 14:01:07 +02:00
|
|
|
<ov-audio-devices-select></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>
|