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

Show H.264 in MPEG-TS #6

Open
sandersaares opened this issue Mar 27, 2020 · 0 comments
Open

Show H.264 in MPEG-TS #6

sandersaares opened this issue Mar 27, 2020 · 0 comments

Comments

@sandersaares
Copy link

sandersaares commented Mar 27, 2020

While something of a legacy thing, this is useful to identify HLS-supporting browsers.

videoElement.canPlayType('application/x-mpegURL; codecs="avc1.64001F"')

This returns a positive result if the browser supports HLS.

It would be nice to have this in "Popular Capabilities" for a quick way to check if HLS is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant