mediasync
v0.3.0
Published
sync html media elements
Downloads
34
Readme
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