jplayer / jPlayer

jPlayer : HTML5 Audio & Video for jQuery
http://jplayer.org/
Other
4.6k stars 1.47k forks source link

jPlayer seems to load whole mp3 before playing #388

Open wikiloops opened 7 years ago

wikiloops commented 7 years ago

Since firefox released version 50+ some weeks ago, I'm receiving user complaints about the player not working in some scenarios (it does work fine on my end, to make things more difficult to track).

What I did notice is that the portion of data downloaded before the player starts seems to be a lot larger than it used to be, and then I stumbled on this comment in the last jPlayer version: Line 2963: _html_load: function() { // This function remains to allow the early HTML5 browsers to work, such as Firefox 3.6 // A change in the W3C spec for the media.load() command means that this is no longer necessary. // This command should be removed and actually causes minor undesirable effects on some browsers. Such as loading the whole file and not only the metadata. if(this.status.waitForLoad) { this.status.waitForLoad = false; this.htmlElement.media.load(); } clearTimeout(this.internal.htmlDlyCmdId); }, which might be what is happening now.

The server I'm using is set up to return the correct Accept-Range responses, so that should not be the cause of the issue. I did switch to https and files are served via a CDN which is using HTTP/2, that might as well be the cause of the issue, I'm no expert in this field, just thought it might be worth mentioning.

Question remains: How do I solve that?

I'm affraid the latest browser generation will call for some work on jPlayer, or it will have to be considered a dead project sometime soon (as rumored in the google group and elsewhere). I'm developing a donation based project myself, and I know how it is to have people on my back who expect me to work 24/7/365... Mark, should you read this, please give some kind of still-alive-sign and let us know what we can do to have you move on with jPlayer.

Thank you, and thanks again for something that has served a lot of people really well :)

eklam commented 7 years ago

I'm experiencing the same problem for mp4 files in Firefox and in some builds of IE11