mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
9dc4e99aca
- the traslation feature without the changes from other branches
14 lines
634 B
HTML
14 lines
634 B
HTML
<div class="wrapper">
|
|
<div class="control-page" *ngIf="isLoading || !canEmbed">
|
|
<div class="loading-badge" *ngIf="isLoading">
|
|
<my-spinner></my-spinner>
|
|
</div>
|
|
<div class="embed-failed" *ngIf="!isLoading && !canEmbed">
|
|
<p class="ban"><i class="fa fa-ban"></i></p>
|
|
<h4>{{'Sorry, this content cannot be embedded' | translate}}</h4>
|
|
</div>
|
|
</div>
|
|
<iframe [src]="embedUrl" *ngIf="!isLoading && canEmbed" frameborder="0" allowfullscreen></iframe>
|
|
<my-fullscreen-button *ngIf="!isLoading && canEmbed" class="toggleFullscreen"></my-fullscreen-button>
|
|
</div>
|