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

option to disable togglePlay #239

Merged
merged 4 commits into from
Jun 15, 2021
Merged

Conversation

adribarbeito
Copy link
Contributor

@adribarbeito adribarbeito commented Mar 26, 2021

Description

Feature to disable the togglePlay manually.

This functionality is useful in live events so that users cannot stop the live, but still have a controlBar available.

Specific Changes proposed

The proposed changes includes a new option disableTogglePlay to flag on the initialization of the plugin and then use it in the canvas-player-controls.

@adribarbeito adribarbeito changed the title option to disable tooglePlay option to disable togglePlay Mar 26, 2021
Copy link
Contributor

@brandonocasey brandonocasey left a comment

Choose a reason for hiding this comment

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

Hey @adribarbeito thanks for the pull request. Code looks good and functions as I would expect. Can you resolve the merge conflict, add the new option to the README, and add an example file for the new option?

@adribarbeito
Copy link
Contributor Author

Hi @brandonocasey , the changes requested were pushed.

Thanks.

@brandonocasey brandonocasey merged commit 7dc2684 into videojs:main Jun 15, 2021
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.

3 participants