Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix onDuration being called with null
Some players need onDuration to be called onReady (FilePlayer) and some need it onPlay (YouTube) Instead of spreading onDuration amongst individual player files, here we just delay onDuration until onPlay if it returns null when onReady fires Fixes #52
- Loading branch information