Comments (3)
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.
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.
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)
- TypeError: $(...).jPlayer is not a function HOT 4
- bugs with player in ampache HOT 1
- bugs with player in ampache HOT 2
- Audio quality is very low when pause and play the call
- Show title and author of song being streamed HOT 4
- mediasession
- jPlayer does not ask for FLash Player permission if flash player is used
- Can not use rtmp
- e_no_solution error when trying to play live streaming audio on the new Safari (version 14) with the new macOS (catalina) HOT 2
- not working on iPhone, nor Safari Desktop HOT 1
- Uncaught (in promise) TypeError: Failed to execute 'exitFullscreen' on 'Document': Document not active
- Multiple instances: Avoid duplicate download of media files
- No buttons of jplayer is working on iOS devices HOT 1
- How to seek or buffer video before play
- Is this Repo Dead? or anyone still available for maintenance? HOT 4
- Switching Tracks via Control Center (Lock Screen) Stops Playback on iOS 15
- Sourcing audio files from ACF repeater fields
- I HOT 1
- jPlayer for Blazor(Dot Net Cored)
- Sbjssksk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jplayer.