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

Reset player on source change. closes #1050 #1124

Closed
wants to merge 3 commits into from

Conversation

mmcc
Copy link
Member

@mmcc mmcc commented Mar 31, 2014

When the source of a video changes changes...

  • Remove first play event listener in case it was never fired the first time around.
  • Add a new first play event listener.
  • Remove .vjs-has-started

/**
* Need to create this outside the scope of onLoadStart so it
* can be added and removed (to avoid piling first play listeners).
*/
Copy link
Member

Choose a reason for hiding this comment

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

@mmcc can you add an @private tag after the description here? Otherwise this will get added to the docs. Either that or use a // comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

Who wouldn't want to see these comments in the docs?!

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