Skip to content

Commit

Permalink
docs: update the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tapioca24 committed Mar 26, 2023
1 parent fe87aad commit a31042e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ If you think it's good, give me a star! :star:
- [TypeScript](#typescript)
- [Configuration](#configuration)
- [Methods](#methods)
- [Compatibility](#compatibility)
- [License](#license)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->
Expand Down Expand Up @@ -172,6 +173,15 @@ player.on('play', () => {
| show() | Show the logo image |
| hide() | Hide the logo image |
## Compatibility
videojs-logo vs video.js
| videojs-logo | video.js |
| ------------ | -------- |
| v3.x | v8.x |
| v2.x | v7.x |
## License
MIT. Copyright (c) tapioca24
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Logo.html
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Logo.html
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Fri Jun 25 2021 22:22:49 GMT+0900 (日本標準時)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Sun Mar 26 2023 13:22:53 GMT+0900 (日本標準時)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Logo.html
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Fri Jun 25 2021 22:22:49 GMT+0900 (日本標準時)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Sun Mar 26 2023 13:22:52 GMT+0900 (日本標準時)
</footer>

<script> prettyPrint(); </script>
Expand Down
8 changes: 4 additions & 4 deletions docs/api/plugin.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="page-title">Source: plugin.js</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>import videojs from 'video.js';
import {version as VERSION} from '../package.json';
import { version as VERSION } from '../package.json';
const Plugin = videojs.getPlugin('plugin');

// Default options for the plugin.
Expand Down Expand Up @@ -70,7 +70,7 @@ <h1 class="page-title">Source: plugin.js</h1>
super(player);
this.tid = null;
this.div = null;
this.options = videojs.mergeOptions(defaults, options);
this.options = videojs.obj.merge(defaults, options);
this.player.ready(() => this._onPlayerReady());
}

Expand Down Expand Up @@ -155,7 +155,7 @@ <h1 class="page-title">Source: plugin.js</h1>
const a = document.createElement('a'); // eslint-disable-line no-undef

a.href = this.options.url;
a.onclick = e => {
a.onclick = (e) => {
e.preventDefault();
window.open(this.options.url); // eslint-disable-line no-undef
};
Expand Down Expand Up @@ -230,7 +230,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Logo.html
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Fri Jun 25 2021 22:22:49 GMT+0900 (日本標準時)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.7</a> on Sun Mar 26 2023 13:22:52 GMT+0900 (日本標準時)
</footer>

<script> prettyPrint(); </script>
Expand Down

0 comments on commit a31042e

Please sign in to comment.