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

onloadend event not fired #28

Open
jhilden opened this issue Oct 5, 2016 · 0 comments
Open

onloadend event not fired #28

jhilden opened this issue Oct 5, 2016 · 0 comments

Comments

@jhilden
Copy link

jhilden commented Oct 5, 2016

Hi @trek et al, thanks a lot for your work on this.

We recently started using pretender as part of ember-cli-mirage in our Ember app and noticed that our HLS videos are not playing correctly anymore in development.

We have a passthrough rule in our mirage config for the domain where we load our HLS manifest files from and you can see them correctly being loaded in the network pane of the Chrome devtools, but HLS.js (the library we use) is still throwing a manifestLoadTimeOut error.

Investigation indicates that HLS.js is simply not clearing its internal timeout because the onloadend event is never called for the request.

It only happens in our development environment and HLS.js just seems to have moved to using onreadystatechange (dailymotion/hls.js@55cabcf), so it is not criticial, but I wanted to report the issue anyway.

We are using mirage 0.2.1, pretender 1.1.0, and FakeXMLHttpRequest 1.4.0

Let me know if there are additional information that would be helpful for you.

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