Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mediaevents

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mediaevents - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.npmignore

9

mediaevents.js

@@ -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) {

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc