Closed pannal closed 5 years ago
There still is a minor issue with DSPlayer that I won't address here: keeping the paused state after seeking doesn't work.
Can someone please review this?
Thanks @pannal - I can confirm that this fixes all resume issues on my DSPlayer 🎉
This should definitely be merged if possible
Thanks!
GHI (If applicable): #189
Description:
This fixes a situation unique to DSPlayer, where the seekOnStart happens with a value of zero almost immediately. The fix is non-intrusive and doesn't change the behaviour for the default video player.
It keeps track of whether a seekOnStart has actually happened (was greater than 0) and keeps the seekOnStart value until it has been applied.
Checklist: