<commit_before># Contributing

We welcome bug reports, feature requests and pull requests. If you want to help us out, please follow these guidelines, in order to avoid redundant work.

## Reporting issues

Our GitHub issue tracker is for bug reports and feature requests. Don't create support issues here. Use [Stack Overflow](https://stackoverflow.com/) or [our Slack](https://bit.ly/plyr-chat) for that.

Please verify that your issue hasn't already been answered by our FAQ (https://github.com/sampotts/plyr/wiki/FAQ), or that there isn't already an open issue for it.

When applicable, check that your problem doesn't happen without Plyr (see [FAQ#1](https://github.com/sampotts/plyr/wiki/FAQ#1-does-plyr-work-with--)).

Verify that you are following the documentation, are using the latest version of Plyr, and aren't getting any errors in your own code, causing the issues.

Describe the issue as detailed as possible, answering these questions:

* Does it happen only with specific options and/or specific browsers?
* Does is happen only with HTML5 video, audio, youtube, vimeo or a specific library?
* Does the issue happen on [our demo](https://plyr.io/)? If not, please recreate it with a **minimal** example online. You can use our Codepen templates to get started:
  * [HTML5 video](https://codepen.io/pen?template=bKeqpr)
  * [HTML5 audio](https://codepen.io/pen?template=rKLywR)
  * [YouTube](https://codepen.io/pen?template=GGqbbJ)
  * [Vimeo](https://codepen.io/pen?template=bKeXNq)
  * [Dash.js integration](https://codepen.io/pen?template=zaBgBy)
  * [Hls.js integration](https://codepen.io/pen?template=oyLKQb)
  * [Shaka Player integration](https://codepen.io/pen?template=ZRpzZO)

## Requesting features and improvements

If you are missing something in Plyr, you can create a GitHub issue for this as well. Since we prioritize fixing bugs first, and may have a lot of other suggestions and architectural changes to work on as well, these may not be at the top of our list. If it's important or urgent to you, you may want to first ensure it's something we want to have in Plyr, and then contribute it as a pull request.

## Contributing features and documentation

* Fork Plyr, and create a new branch in your fork, based on the **develop** branch

* To test locally, you can use the demo. First make sure you have installed the dependencies with `npm install` or `yarn`. Run `gulp` to build while you are working, and run a local server from the repository root directory. If you have Python installed, this command should work: `python -m SimpleHTTPServer 8080`. Then go to `http://localhost:8080/demo/`

* Develop and test your modifications.<commit_msg>Clarifications due to recent non-constructive comments in #1001<commit_after># Contributing

We welcome bug reports, feature requests and pull requests. If you want to help us out, please follow these guidelines, in order to avoid redundant work.

## Reporting issues

Our GitHub issue tracker is for bug reports and feature requests. Don't create support issues here. Use [Stack Overflow](https://stackoverflow.com/) or [our Slack](https://bit.ly/plyr-chat) for that.

Please verify that your issue hasn't already been answered by our FAQ (https://github.com/sampotts/plyr/wiki/FAQ), or that there isn't already an open issue for it.

When applicable, check that your problem doesn't happen without Plyr (see [FAQ#1](https://github.com/sampotts/plyr/wiki/FAQ#1-does-plyr-work-with--)).

Verify that you are following the documentation, are using the latest version of Plyr, and aren't getting any errors in your own code, causing the issues.

Describe the issue as detailed as possible, answering these questions:

* Does it happen only with specific options and/or specific browsers?
* Does is happen only with HTML5 video, audio, youtube, vimeo or a specific library?
* Does the issue happen on [our demo](https://plyr.io/)? If not, please recreate it with a **minimal** example online. You can use our Codepen templates to get started:
  * [HTML5 video](https://codepen.io/pen?template=bKeqpr)
  * [HTML5 audio](https://codepen.io/pen?template=rKLywR)
  * [YouTube](https://codepen.io/pen?template=GGqbbJ)
  * [Vimeo](https://codepen.io/pen?template=bKeXNq)
  * [Dash.js integration](https://codepen.io/pen?template=zaBgBy)
  * [Hls.js integration](https://codepen.io/pen?template=oyLKQb)
  * [Shaka Player integration](https://codepen.io/pen?template=ZRpzZO)

It's important that you keep the issue description and replication demo **minimal**. If your implementation is using a framework, library or custom methods, which aren't needed to reproduce the issue, this makes it harder to debug and understand the issue. While it may be relevant to bring this up (ex: "I need Plyr to trigger the event sooner or it breaks Framework X") it also means that the person who is trying to fix the issue either has to know or learn your frameworks, libraries and custom methods, or that no one will try to fix your issue because it's too much work.

In order to keep things on topic and to avoid bothering people with github notifications, please don't combine multiple problems or bugs into one issue, don't comment on issues unless your comment is related to that issue, and don't post "+1" or "I agree" type of comments. Use the emojis instead.

Last but not least: Keep a civil tone in issues and comments. Non-constructive comments may be removed.

## Requesting features and improvements

If you are missing something in Plyr, you can create a GitHub issue for this as well. Since we prioritize fixing bugs first, and may have a lot of other suggestions and architectural changes to work on as well, these may not be at the top of our list. If it's important or urgent to you, you may want to first ensure it's something we want to have in Plyr, and then contribute it as a pull request.

## Contributing features and documentation

* Fork Plyr, and create a new branch in your fork, based on the **develop** branch

* To test locally, you can use the demo. First make sure you have installed the dependencies with `npm install` or `yarn`. Run `gulp` to build while you are working, and run a local server from the repository root directory. If you have Python installed, this command should work: `python -m SimpleHTTPServer 8080`. Then go to `http://localhost:8080/demo/`

* Develop and test your modifications.
{'fraction_non_alphanumeric': 0.0814953855779759, 'fraction_numerical': 0.004849053652432348, 'mean_word_length': 4.564838990426458, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5473495', 'n_tokens_mistral': 1794, 'n_tokens_neox': 1729, 'n_words': 877}