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

Deprecate the use of starttime in player.js #3838

Merged
merged 2 commits into from
Dec 21, 2016
Merged

Deprecate the use of starttime in player.js #3838

merged 2 commits into from
Dec 21, 2016

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Dec 6, 2016

Description

Deprecate the use of starttime in player.js. It seems like the startTime option is actually used in flash so for the time being that will have to stay. Fixes #3781

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
  • Reviewed by Two Core Contributors

Copy link
Member

@misteroneill misteroneill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, feel free to disagree. Otherwise, LGTM.

@@ -1271,12 +1271,14 @@ class Player extends Component {
*
* @fires Player#firstplay
* @listens Tech#firstplay
* @deprecated In 6.0 passing the `starttime` option to the player will be deprecated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than "In 6.0" I wonder if we can phrase this as "As of 6.0"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like a good idea

@gkatsev
Copy link
Member

gkatsev commented Dec 19, 2016

I think this one can be merged in as a minor.

@gkatsev gkatsev added minor This PR can be added to a minor release. It should not be added to a patch release. and removed major labels Dec 19, 2016
@gkatsev gkatsev merged commit 22cf3dd into videojs:master Dec 21, 2016
@brandonocasey brandonocasey deleted the chore/deprecate-starttime branch February 2, 2017 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed minor This PR can be added to a minor release. It should not be added to a patch release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

does the starttime/startTime option work? Do we want to keep it?
3 participants