# html5-media-player

> MPlayer : HTML5 Media Player

Latest version **0.2.4-alpha.2** (published 2018-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install html5-media-player
pnpm add html5-media-player
yarn add html5-media-player
bun add html5-media-player
```

## 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.4-alpha.2 |
| Published | 2018-01-23 |
| First published | 2018-01-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | dohoons |
| Maintainers | dohoons |
| Keywords | javascript, html5, player, video player, audio player |

## Links

- npm: https://www.npmjs.com/package/html5-media-player
- Repository: https://github.com/dohoons/mplayer
- Homepage: https://github.com/dohoons/mplayer#readme
- Issues: https://github.com/dohoons/mplayer/issues
- npm.io page: https://npm.io/package/html5-media-player

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.2.4-alpha.2 (latest) — 2018-01-23
- 0.2.4-alpha.1 — 2018-01-23

## README

# MPlayer : HTML5 Media Player
- HTML5 video/audio Player
- ES6 + babel + webpack
- 디자인 스킨 옵션 (스킨스타일 자동 로드)
- 알파버전 : 기능 개발 및 테스트 중.. (로컬환경에서 실행가능)
  
## Demo
> https://dohoons.github.io/mplayer/demo/

## Usage
``` html
<video id="my-video">
	<source src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" type="video/mp4">
</video>

<script src="./mplayer/mplayer.min.js"></script>

<script>
var player = new MPlayer('#my-video'); // default
</script>
```

## Options
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| skin | String | 'basic' | 스킨 선택 |
| flexible | Boolean | false | 유동 크기 사용 (absolute 100%/100% size) |
| width | String | '' | 가로 크기 지정 (css width value) |
| height | String | '' | 세로 크기 (css height value) |
| currentTime | Number | 0 | 시작 시간 (sec) |
| autoplay | Boolean | false | 자동 재생 |
| loop | Boolean | false | 반복 재생 |
| muted | Boolean | false | 음소거 |
| volume | Number | 1.0 | 음량(0 ~ 1) |
| playbackRate | Number | 1.0 | 재생 속도 |
| preload | String | 'metadata' | preload 옵션 (metadata \| auto \| none) |
| contextmenu | Boolean | true | contextmenu 사용 |

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