Comments (5)
This seems to be a Chrome bug (mainly to do with the fact there is no stop api). The effects are alot less when keeping the same jPlayer instance and using "setMedia".
This then brings up another unexpected behaviour. When changing "setMedia" the "ready" event does not fire.
from jplayer.
See #48
from jplayer.
I had replied in the pull request...
Ok, so it is Chrome. Well, we will probably just clearMedia for everything. It sounds like it is reasonable to do this. We used to clearMedia in every setMedia, so it can't hurt to do it just before the destroy.
As for your comment about the ready event... The ready event only fires when jPlayer is instanced and is then ready for use. A setMedia command would generate a timeupdate event. There is now event specific to the setMedia command, however, I have wondered if one would be useful... Such as a newMedia event that fired after a setMedia... But I always kinda figured that if you are setting the media, you could put the code in there rather than having an event.
from jplayer.
Fixed.
Minor Bug Fix: [2.0.27] The destroy() now does a clearMedia. This stops downloads from streams persisting on some browsers.
from jplayer.
Just for reference: d45a18c
from jplayer.
Related Issues (20)
- repeat button can't desactivated!
- 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)
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.