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

Fix invalid MediaPlayerEvents import #3496

Conversation

chromakode
Copy link
Contributor

This caused an error when processing source using Babel: "Attempted import error: 'EVENT_MODE_ON_RECEIVE' is not exported from '../streaming/MediaPlayerEvents'."

I've changed it to match the other uses of these constants, which caused my builds to succeed. E.g.:

_startEvent(event.id, event, values, MediaPlayerEvents.EVENT_MODE_ON_RECEIVE);

This caused an error when processing source using Babel: "Attempted
import error: 'EVENT_MODE_ON_RECEIVE' is not exported from
'../streaming/MediaPlayerEvents'."
@dsilhavy dsilhavy added this to the 3.2.1 milestone Jan 4, 2021
@dsilhavy dsilhavy self-requested a review January 4, 2021 15:59
@dsilhavy dsilhavy merged commit 8a97b27 into Dash-Industry-Forum:development Jan 4, 2021
@dsilhavy
Copy link
Collaborator

dsilhavy commented Jan 4, 2021

Thanks!

jlks pushed a commit to bbc/dash.js that referenced this pull request Jul 28, 2021
This caused an error when processing source using Babel: "Attempted
import error: 'EVENT_MODE_ON_RECEIVE' is not exported from
'../streaming/MediaPlayerEvents'."
robertbryer added a commit to bbc/dash.js that referenced this pull request Aug 31, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants