An open API service indexing awesome lists of open source software.

https://github.com/natjs/weex-nat-media-video


https://github.com/natjs/weex-nat-media-video

app media mobile nat video weex weex-plugin

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# nat-media-video

- [Documentation](http://natjs.com/#/reference/video)
- [Github](https://github.com/natjs/weex-nat-media-video)

## Installation
```
weexpack plugin add nat-media-video
```

```
npm install natjs --save
```

## Usage

Use in weex project (`.vue`/`.we`)

```html

import Nat from 'natjs'

// play
Nat.video.play('http://domain.com/video')

// pause
Nat.video.pause()

// stop
Nat.video.stop()

```

See the Nat [Documentation](http://natjs.com/) for more details.