Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: volume control showing up on iOS (#7550)
This is a follow-up to #7514. But turns out, that we still had a timing issue around when we were doing the check and when the volume control was created. Instead, we should make `featuresVolumeControl` not be a lazy property, so, that we do that check as early as possible. Also, we should default this property to `false` in this case, so, that we assume we can't until we confirm we can. Additionally, added a null check for Html5, to be extra defensive since the timeout isn't tied to a player.
- Loading branch information