@neogeek/videoplayer.js
v1.1.0
Published
Display video in the browser with variable input sources.
Downloads
4
Readme
@neogeek/videoplayer.js
🎥 Display video in the browser with variable input sources.
Install
$ npm install @neogeek/videoplayer.js
Usage
<script
type="module"
src="https://unpkg.com/@neogeek/[email protected]/index.js"
></script>
<script type="module">
import { setupVideoPlayer } from 'https://unpkg.com/@neogeek/[email protected]/index.js';
setupVideoPlayer(document.querySelector('video'), {
videoInputDeviceSelect: document.querySelector('#videoinput'),
audioInputDeviceSelect: document.querySelector('#audioinput')
});
</script>