fix publication preview

This commit is contained in:
Peter Maquiran
2024-01-09 11:14:27 +01:00
parent eb790266f1
commit 86b65f3e46
11 changed files with 304 additions and 110 deletions
@@ -53,7 +53,7 @@
<video #videoElement [appVisibility]="onVisibilityChange" *ngIf="checkFileType.checkFileType(files.FileExtension ) == 'video'" class="post-video" controls="controls" preload="metadata"
webkit-playsinline="webkit-playsinline" (play)="stopvideoService.registerVideoWithEvent($event)" (click)="preventVideoPlay($event)">
<source src="{{'data:video/mp4;base64,' + files.FileBase64}}" type="video/mp4">
<source [src]="files.FileBase64" type="video/mp4">
</video>
</div>