Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular Project Still Fetching CDN HLS Stream Instead of Local Package #1411

Open
kzwr opened this issue Aug 25, 2024 · 1 comment
Open

Angular Project Still Fetching CDN HLS Stream Instead of Local Package #1411

kzwr opened this issue Aug 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kzwr
Copy link

kzwr commented Aug 25, 2024

Current Behavior:

Using Angular with the npm installation method to integrate the Vidstack player. However, when requesting the HLS video stream, the player still fetches the stream from the CDN instead of using the local package version.

https://www.vidstack.io/docs/player/getting-started/installation/angular?provider=hls&styling=default-layout
20240825164927

Expected Behavior:

The Vidstack player should request and use the locally hosted HLS package instead of the CDN version.
Steps To Reproduce:

Install Vidstack player using npm in an Angular project.
Configure the player to use a locally hosted HLS package.
Attempt to play a video using HLS.
Observe that the player still fetches the HLS stream from the CDN.

Reproduction Link: How to create a repro?
Environment:

Framework: Angular 17
Node: 16.0.0
OS: Windows 11
Browser: Chrome 114

Anything Else?

The player works fine, but the issue is with how it handles the HLS request. Here is a sample of my configuration:
image

@kzwr kzwr added the bug Something isn't working label Aug 25, 2024
@wplit
Copy link

wplit commented Aug 25, 2024

see the 'loading' part of the docs - https://www.vidstack.io/docs/player/api/providers/hls#loading

add your new URL if hosting hls.js locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@kzwr @wplit and others