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

Missing AirPlay button when used HLS source #1522

Open
pvm1987 opened this issue Nov 28, 2024 · 0 comments
Open

Missing AirPlay button when used HLS source #1522

pvm1987 opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pvm1987
Copy link

pvm1987 commented Nov 28, 2024

Current Behavior:

Missing AirPlay button when played HLS video after the player has been relaoded.

Expected Behavior:

AirPlay button to be shown as it was on the first player load.

Steps To Reproduce:

  1. Open your demo page on Safari (for example 17.1). https://vidstack.io/player/demo/?framework=react&view=player
  2. Switch to HLS source
  3. Refresh the page
  4. Observe AirPlay button is there
  5. Change something in the code on the right. For example remove "," sign from "playsInline": true, and re-add it.
  6. Play again the video

Reproduction Link: How to create a repro?

Environment:

Browser: [email protected]
OS: [email protected]

Also you can see the issue if you load the library statically as shown in the documentation:

import HLS from 'hls.js'; 

onProviderChange={(provider: MediaProviderAdapter | null, nativeEvent: MediaProviderChangeEvent) => 
    if (isHLSProvider(provider)) {
        provider.library = HLS;
    }
}
@pvm1987 pvm1987 added the bug Something isn't working label Nov 28, 2024
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

1 participant