Code Monkey home page Code Monkey logo

Comments (3)

masterkain avatar masterkain commented on June 8, 2024

I take the opportunity to expand this ticket since it may be related; the ticket is not mine.

What we are seeing is that Chrome, starting at version 7, have problems in HTML 5 audio when switching tracks.

If a track start buffering but it is still around 0% and we switch track (jplayer will replace the src attribute) Chrome freezes.

from jplayer.

 avatar commented on June 8, 2024

Chrome has a problem when the currentTime is zero... In jPlayer 2 we do different actions when a track ends on webkit than to other browsers. Setting currentTime to zero and then changing the media would crash every time. Our playlist demo caused Chrome to crash 100% of the time on both OSX and Win 7 before the change was made.

While we made this change to stop Chrome crashing if you changed media in the ended event, we consider it a browser bug and not a bug in jPlayer.

It appears that the problem you found relates to the problem we encountered. I will investigate to see if the problem you reported continues to effect the current Chrome release.

Well that was a quick test and Chrome exploded. Pure quality browser.

This must be a side effect of Chrome's current rubbish implementation that forces you to buffer most of the media before any playback will start.

Best regards,
Mark P.

from jplayer.

 avatar commented on June 8, 2024

Wow I seemed grumpy when I wrote that last reply. Chrome was giving me night terrors at the time ;)

We bug reported the currentTime issue and it is said to be fixed. Details and official report can be found here:
http://www.jplayer.org/bug-reports/chrome/currentTime-then-src/

I will be doing various tests over the next couple of weeks so will see if this Chrome code and the browser sniffer are still required in the latest version of Chrome.

from jplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.