# @segment/analytics.js-video-plugins

> Add automatic Segment event tracking to popular video players.

Latest version **0.2.1** (published 2021-01-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install @segment/analytics.js-video-plugins
pnpm add @segment/analytics.js-video-plugins
yarn add @segment/analytics.js-video-plugins
bun add @segment/analytics.js-video-plugins
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2021-01-28 |
| First published | 2018-08-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 83.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | arta.razavi, kelcook, gnijor, lauramunozjimenez, parsa-segment, ynguyen, mshwery, flaque, gpsamson, amillet89, av-segment, scruwys1, rowno, chenpengcheng, segmentaimee, eesegment, segmentio, segment-admin, dominicbarnes, ladanazita, anoonan, peripheral, achille-roussel, nettofarah, albert.segment, segment-danielstjules, jlee9595, n2parko, segment-andy-yeo, sahilp, vdemedes, emilio-gomez-lavin, f2prateek, andreiko_ru, xagos, emily.luckette, leifdreizler, alan-segment, tyson_segment, bgamwell, jfabre-segment, uditmehta, hellooimkat, brienne.mcnally, sanscontext, eculver, aultimus, erikdw, fauzyy, jaimal, davidbirdsong, ktrinh, calthomson, yunqiaohuang, dk1027, nickatsegment, nielssegment, knoonan, cdrycroft, yabrira, shse, julee05, kamebkj, ryan_segment, laurenmreeder, tidothegreat, mericsson, prayansh-segmentt, stargaesser, andyguwc, jeremylarkin, bsneed, danieljackins, tomeliaz, segment-seth, xav_segment, bihl, shamil.ataev, james9446, priscilla.giatti, kellylu, smokeybears, jmbuckner, benhorowitz, yolken-segment, nlsun, thomas-pelletier-segment, brian-segment, segment-michael, cohara87, osamakhn, drew-thompson, andy-li, segment-jsingh, vanesng, cvillela, pauljaeinyoo, stevenmiller888, mniehe, iajiboye, stephment, sharadbhadouria, emilyc, maggieyu, anoonan16, durgani, colinlohner, julio.farah, hblanks-segment, rsata, shyaan, juhaelee, akleiner2, kathryn-taylor, andrius-segment, pooyaj, llbsgmt, lab176, valerieernst, emilyluckette, ucarion, parsaattari, solon.aguiar, rjenkinsseg, segment-ulysse, khinkalilover, maloneya, zackurey |

## Links

- npm: https://www.npmjs.com/package/@segment/analytics.js-video-plugins
- Repository: https://github.com/segmentio/analytics.js-video-plugins
- Homepage: https://github.com/segmentio/analytics.js-video-plugins#readme
- Issues: https://github.com/segmentio/analytics.js-video-plugins/issues
- npm.io page: https://npm.io/package/@segment/analytics.js-video-plugins

## Dependencies (1)

- [unfetch](https://npm.io/package/unfetch.md) ^3.1.1

## Recent versions

- 0.2.1 (latest) — 2021-01-28
- 0.2.0 — 2021-01-28
- 0.1.5 — 2021-01-28
- 0.1.4 — 2021-01-28
- 0.1.3 — 2021-01-28
- 0.1.2 — 2021-01-28
- 0.1.1 — 2021-01-28
- 0.1.0 — 2019-11-22
- 0.0.10 — 2019-11-15
- 0.0.9 — 2019-11-13
- 0.0.8 — 2019-10-09
- 0.0.7 — 2019-10-09
- 0.0.6 — 2019-10-08
- 0.0.4 — 2018-08-23
- 0.0.3 — 2018-08-17
- … 3 more at https://npm.io/package/@segment/analytics.js-video-plugins/versions

## README

# analytics.js-video-plugins

Add automatic Segment event tracking to popular video players.

## Introduction
Video plugins are built to hook into the lifecycle API of their corresponding video player and translate those events in to Segment events that adhere to the [Video Spec](https://segment.com/docs/spec/video/).

## Getting Started
Each individual plugin is stored in the `/plugins` directory. Plugins are built into a single module using Webpack [and output as a single commonJs module](https://webpack.js.org/configuration/output/#output-librarytarget) into the `/dist` directory. This file is then bundled into analytics.js via [analytics.js-private](https://github.com/segmentio/analytics.js-private) using Browserify. Each plugin is accessible at runtime at `window.analytics.plugins`.

## Contributing
If you're interested in contributing to the development of an existing player plugin or creating a new one, please reference our [contribution](https://github.com/segmentio/analytics.js-video-plugins/blob/master/CONTRIBUTING.md) guidelines.

## Releasing
To release, simply merge your changes into master on Github, pull them down locally into your master branch, and run `yarn release <major | minor | patch>`. This will automatically update `package.json` with the appropriate version bump, build a new dist file, push the updates to GitHub, and publish to npm.

Next, follow the instructions to [release analytics.js](https://paper.dropbox.com/doc/Releasing-Analytics.js-Deployment--AKqFN~w1oVkSR0xvHmHa8mK3Ag-ZFzuZSXuTQC) (note: you'll be bumping the version of `@segment/analytics.js-video-plugins` in that repo to the version you just published.

---
_Source: https://npm.io/package/@segment/analytics.js-video-plugins · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
