Skip to content

Commit 9ea2386

Browse files
committed
feat: Video sizing update
1 parent 69a23e4 commit 9ea2386

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

projects/stream-chat-angular/src/lib/attachment-list/attachment-list.component.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,14 @@
8383
</button>
8484
</ng-container>
8585
</div>
86-
<video
87-
class="str-chat__video-angular"
88-
*ngIf="isVideo(attachment)"
89-
controls
90-
data-testclass="video-attachment"
91-
[src]="attachment.asset_url"
92-
></video>
86+
<div class="str-chat__player-wrapper" *ngIf="isVideo(attachment)">
87+
<video
88+
class="str-chat__video-angular"
89+
controls
90+
data-testclass="video-attachment"
91+
[src]="attachment.asset_url"
92+
></video>
93+
</div>
9394
<div
9495
*ngIf="isFile(attachment)"
9596
class="

0 commit comments

Comments
 (0)