Skip to content

More accurate played fraction for Wistia - #201

Merged
cookpete merged 1 commit into
cookpete:masterfrom
rijk:wistia-played
Jul 17, 2017
Merged

More accurate played fraction for Wistia#201
cookpete merged 1 commit into
cookpete:masterfrom
rijk:wistia-played

Conversation

@rijk

@rijk rijk commented May 30, 2017

Copy link
Copy Markdown
Contributor

I noticed that the Wistia percentWatched() is actually pretty rough; it's only updated in chunks, which sucks if you need frame precision. To fix this, I’ve reimplemented the getFractionPlayed() calculation to use the Wistia time() and duration() methods, which are always 100% accurate.

@rijk

rijk commented Jul 15, 2017

Copy link
Copy Markdown
Contributor Author

Any indication if/when this one can be merged?

@cookpete
cookpete merged commit 0a633e8 into cookpete:master Jul 17, 2017
@cookpete

Copy link
Copy Markdown
Owner

I intended to merge this as part of 0.19.0 but must have missed it. Just published in 0.19.1. Thanks! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants