Skip to content

Feature: Add "prefer-native" support #5

Description

@cjpillsbury

Which Mux Elements/Packages would you like a new feature for?

  • mux-video

🎥 Describe the feature you'd like to request

I'd like an easy way to tell <mux-video/> that I'd prefer to use native HLS support if/when it's available.

💻 Describe the use cases the feature will solve

For performance reasons, new features in the HLS spec, or strange edge cases, there are times when allowing someone to specify that they'd like to use the native HLS support built into the browser (e.g. in Safari), even when HLS/MSE is available.

⭐ Describe the solution you'd like to see

<mux-video prefer-native></mux-video> will always choose native HLS playback support if/when it's available (otherwise, it will try to use Hls.js "under the hood" if it's supported.)

🔄 Describe alternatives or workarounds you've considered

  • Fork mux-elements
  • Don't use mux-video

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmux-videoRelates to mux-video element

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions