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

there are multiple audio tracks to choose from under IE11 and none under Chrome #6849

Closed
mraiguo opened this issue Sep 21, 2020 · 4 comments
Closed

Comments

@mraiguo
Copy link

mraiguo commented Sep 21, 2020

Description

Briefly describe the issue.
https://codepen.io/mraiguo/pen/GRZwmVy?editors=1010

Steps to reproduce

For the same video source, there are multiple audio tracks to choose from under IE11 and none under Chrome or firefox

Results

Expected

can select audio tracks under Chrome

Actual

can't select audio tracks under Chrome

Error output

in IE11
image
in chrome
image

Additional Information

Please include any additional information necessary here. Including the following:

versions

videojs

latest

browsers

chrome ie11 firefox

OSes

windows 10

plugins

are any videojs plugins being used on the page? If so, please list them below.

@gkatsev
Copy link
Member

gkatsev commented Sep 21, 2020

Unfortunately, Chrome doesn't support alternate audio tracks present in mp4s. Video.js only handles alternate audio in HLS and DASH. Your best bet for alternate audio tracks is using HLS or DASH rather than an mp4.

@mraiguo
Copy link
Author

mraiguo commented Sep 22, 2020

@gkatsev so If I use HLS with multiple audio tracks, it will display properly ?

@gkatsev
Copy link
Member

gkatsev commented Sep 22, 2020

Yup. Safari handles HLS natively, and we handle HLS in other browsers.

@mraiguo
Copy link
Author

mraiguo commented Nov 6, 2020

@gkatsev ok, thanks

@mraiguo mraiguo closed this as completed Nov 6, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants