mediaevents
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,10 @@ | ||
/* mediaEvents | ||
* https://github.com/pixeldesu/mediaEvents | ||
* | ||
* | ||
* Copyright pixeldesu and other contributors | ||
* Licensed under the MIT License | ||
* https://github.com/pixeldesu/mediaEvents/blob/master/LICENSE | ||
*/ | ||
class mediaEvents { | ||
@@ -2,0 +11,0 @@ constructor (timings, type, textNode) { |
{ | ||
"name": "mediaevents", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Fire events for specific timeframes easily", | ||
@@ -21,3 +21,3 @@ "main": "mediaevents.js", | ||
"author": "Andreas Nedbal <andy@pixelde.su>", | ||
"license": "GPL-3.0", | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -24,0 +24,0 @@ "url": "https://github.com/pixeldesu/mediaEvents/issues" |
@@ -6,8 +6,16 @@ # mediaEvents | ||
**NPM:** | ||
``` | ||
npm install mediaevents | ||
$ npm install mediaevents | ||
``` | ||
Or you can just grab `mediaevents.js` and put it somewhere in your project with a `<script>` tag! | ||
**unpkg:** | ||
```html | ||
<script src="https://unpkg.com/mediaevents@1.0.0/mediaevents.js"></script> | ||
``` | ||
Or you can go the traditional way, grab `mediaevents.js` from the repository and put it somewhere in your project with a `<script>` tag! | ||
## Usage | ||
@@ -28,3 +36,3 @@ | ||
const ev = new mediaEvents(timings, 'text', text) | ||
ev.bind(audio) | ||
ev.bind(media) | ||
``` | ||
@@ -51,3 +59,3 @@ | ||
const ev = new mediaEvents(timings) | ||
ev.bind(audio) | ||
ev.bind(media) | ||
``` | ||
@@ -75,2 +83,2 @@ | ||
mediaEvents is licensed under the aGPL v3 license | ||
mediaEvents is licensed under the MIT license |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
5
0
100
67
80
6588