# double-video

> It's a vue component that will play and change two video at the same time

Latest version **1.4.1** (published 2019-01-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install double-video
pnpm add double-video
yarn add double-video
bun add double-video
```

## 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.4.1 |
| Published | 2019-01-22 |
| First published | 2018-07-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 103.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | zhangTing0927 |
| Maintainers | ztt0927 |
| Keywords | video, double |

## Links

- npm: https://www.npmjs.com/package/double-video
- Repository: https://github.com/zhangTing0927/double-video
- Issues: https://github.com/zhangTing0927/double-video/issues
- npm.io page: https://npm.io/package/double-video

## 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.4.1 (latest) — 2019-01-22
- 1.4.0 — 2019-01-21
- 1.3.0 — 2019-01-21
- 1.2.0 — 2019-01-21
- 1.1.0 — 2018-08-16
- 1.0.0 — 2018-07-31

## README

<div align="center">
<h2>双视频播放器</h2>
</div>

### 介绍

It is a web video player

### 入门

1. 安装

    ```
    $ npm install double-video
    ```

2. 使用

    步骤 1. Add double-video component
    ```js
    import doubleVideo from 'double-video';
    export default {
      components:{
        doubleVideo
      }
    }
    ```

    步骤 2. Use in template
    ```html
    <double-video :bottomVideoUrl="bottomVideoUrl" :topVideoUrl="topVideoUrl" @changeposition="changePosition" @videomouseover="videoMouseover" @videomouseout="videoMouseout" @videoplay="videoPlay"></double-video>
    ```

    步骤 3. Use in js
    ```js
    export default {
      data () {
        return {
            bottomVideoUrl:'',
            topVideoUrl:'',        
        }
      },
      methods:{
          changePosition(){},
          videoMouseover(){},
          videoMouseout(){},
          videoPlay(){}
      }
    }
### Demo

[https://zhangting0927.github.io/double-video](
https://zhangting0927.github.io/double-video)

### Github
```

$ git clone https://github.com/zhangTing0927/double-video.git
$ cd double-video
$ npm install
$ npm start
```

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