# video-in-view

> Play/Pause video when in/out of the view.

Latest version **1.0.0** (published 2016-08-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install video-in-view
pnpm add video-in-view
yarn add video-in-view
bun add video-in-view
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-08-29 |
| First published | 2016-08-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Hemanth.HM |
| Maintainers | hemanth |
| Keywords | in-view, in-view-port, video, autoplay, play, pause, visible, scroll |

## Links

- npm: https://www.npmjs.com/package/video-in-view
- Repository: https://github.com/hemanth/video-in-view
- Homepage: https://github.com/hemanth/video-in-view#readme
- Issues: https://github.com/hemanth/video-in-view/issues
- npm.io page: https://npm.io/package/video-in-view

## Dependencies (1)

- [in-view](https://npm.io/package/in-view.md) ^0.1.5

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-08-29

## README

# video-[in-view](https://github.com/camwiegert/in-view)
> Play/Pause video when in/out of the view.


## DEMO

Checkout the [DEMO](https://h3manth.com/demo/video-in-view/)!

## Install

```
$ npm install --save video-in-view
```


## Usage

```js
const videoInView = require('video-in-view');

// Plays and pauses when the video.
videoInView('.selector', {loop: true})

// Operators on all the video tags.
videoInView({loop:true, mute:true})
```

## Options

```
{
  mute,
  loop
}
```

## License

MIT © [Hemanth.HM](https://h3manth.com)

---
_Source: https://npm.io/package/video-in-view · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
