I have an array of attachments, and I have a function that navigates through them and displays/plays the video based on its source URL. I have the URL updating correctly, but the actual video output on the site doesn't change.
Here's a minimal example HTML:
<ng-container *ngIf="isVideo; then videoFile; else notVideoFile"></ng-container>
<ng-template #videoFile>
<video controls autoplay>
<source [src]="currentAttachment.url"/>
</video>
</ng-template>
I know for sure the URL updates because when I print it {{ currentAttachment.url }}, it's fine. The URL updates but the actual video doesn't.