Comments (4)
Hi @jakedahm,
This is a known issue. I'll see if we can get a fix for it with html5 and Flash playback in our 7.1.1 release.
The player's model doesn't get duration from the current video provider until the first time event so that's why you are seeing this behavior:
https://github.com/jwplayer/jwplayer/blob/master/src/js/controller/model.js#L93
The plan so far is to add this data to "bufferChange" events so that it can be set before playback when media is buffering (or preloading in v7.1.1🎉).
from jwplayer.
Thanks @robwalch!
Can you give me an idea of when 7.1.1 will be released? I know you are still at 7.1.0-beta, but I am wanting to cut over to 7 from 6 ASAP.
from jwplayer.
@jakedahm We're shooting for end of the month based on our current 2 week cycle.
This is an issue we deal with in our own analytics product. We require four events to fire before all the playback data is available (and we could probably ignore play the more I think about it).
- 'play' (video tag or provider indicated that playback has begun)
- 'meta' (usually where duration, width and height are provided)
- 'levels' (usually before play when we know what qualities are available)
- 'firstFrame' (new in 7. Fired either when the first frame is rendered or first time event, depending on provider)
Keep in mind that this developed for the course of 6.x to 7.x. Our analytics plugin has to work across multiple versions of the same major release so it works around the short comings of previous releases.
Keep in mind that this developed for the course of 6.8 to 7.x. Our analytics plugin has to work across multiple versions of the same major releases.
We can reopen this issue if you want to get a notification when we've made a change internally. I hope with preloading we can also provide duration in some instances before play is even called.
from jwplayer.
I think it should be alright. I just found out that 'meta' is fired before 'play', and contains the duration in the event payload.
Thanks
from jwplayer.
Related Issues (20)
- GruntFile.Js is missing HOT 2
- micnews/react-jw-player or jwplayer/react-jwplayer
- Video get freezes
- .info.json viewer
- Dragging floating player quickly causes playback state changes
- Google Cast function does not work using the keyboard
- Feature Request: Use Document Picture-in-Picture Web API HOT 2
- not playing stream on jwplayer
- custom cue points don`t appear on the time slider HOT 2
- Update documentation about removing grunt
- İos video quality change problem HOT 5
- JW Player Web: Accessing hlsjs provider or listening to hls.js events HOT 4
- "Remote WebView debugging is enabled" reported by MobSf
- Embedded JW Player causes CLS (only when it autoplays)
- JW Player Web 8.26.7 (8.27.0 tested as well) iOS 16.5 cropping responsive player HOT 6
- I want the video to fit the screen perfectly how can I do it? HOT 2
- how to make fullscreen icon disable HOT 2
- Ready event called before plugin div is inserted
- Force use hls.js on safari?
- Web Player: impossible to know when chapters' cues are added
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 jwplayer.