mediasync

0.3.0 • Public • Published

mediasync

sync html media elements (video/audio).

usage

const MediaSync = require('mediasync').MediaSync
const ms = new MediaSync()
const audio = document.querySelector('#audio')
const video = document.querySelector('#video')
ms.add(audio)
ms.add(video)
ms.play()
ms.seek(42.2)
ms.pause()
ms.remove(video)

license

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i mediasync

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

89.2 kB

Total Files

9

Last publish

Collaborators

  • youka