UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
In our Angular project, we are using the component from the vidstack library. When the video is not in HLS format, the video fails to initialize correctly, even though the
The issue occurs when isSupportedHLS is false, and the video source doesn't seem to load as expected. This prevents the video from being displayed on the page in non-HLS cases.
In our application, we conditionally support HLS videos. When the content is not in HLS format, the video fails to load unless the contentType is hardcoded. We expect the video player to function even when contentType is dynamically set, but currently it doesn't.
Steps to Reproduce:
Use vidstack player in an Angular project.
Attempt to load a non-HLS video by dynamically setting contentType via variable binding (e.g., [type]="contentType").
The video fails to load.
Change the type attribute in the HTML to a hardcoded "video/mp4".
The video loads correctly.
Expected Behavior: When isSupportedHLS is false, the video should load from the provided src and play normally.
Current Behavior:
The video does not load when the content is not in HLS format.
The media-player is rendered, but the video is not initialized.
Description:
In our Angular project, we are using the component from the vidstack library. When the video is not in HLS format, the video fails to initialize correctly, even though the
The issue occurs when isSupportedHLS is false, and the video source doesn't seem to load as expected. This prevents the video from being displayed on the page in non-HLS cases.
In our application, we conditionally support HLS videos. When the content is not in HLS format, the video fails to load unless the contentType is hardcoded. We expect the video player to function even when contentType is dynamically set, but currently it doesn't.
Steps to Reproduce:
Expected Behavior: When isSupportedHLS is false, the video should load from the provided src and play normally.
Current Behavior:
Angular project Code Snippet: