Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove confusing references to player in HTML5 tech. #3790

Merged
merged 1 commit into from
Nov 23, 2016

Conversation

boushley
Copy link
Contributor

Description

This has no functional change. This simply makes the code easier to understand.

Specific Changes proposed

Don't reference player_ inside of a tech since it isn't actually a reference to the Player.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chome, Firefox, IE)
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created (starter template on JSBin)
  • Reviewed by Two Core Contributors

These references to player_ are actually not the player due to techs not having a reference to the player.

These references to player_ are actually not the player due to techs not having a reference to the player.
boushley referenced this pull request Nov 17, 2016
)

HTML5 tech will return NaN instead of Infinity if playback has not started. Fires a durationupdate event once the reported duration can be believed if the duration is still Infinity, so controls can update.

Fixes #3079.
@gkatsev gkatsev merged commit d69551a into videojs:master Nov 23, 2016
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