@nialleccles/projector
v1.0.6
Published
A simple overlay for playing YouTube videos.
Downloads
6
Maintainers
Readme
projector
A simple overlay for playing YouTube videos.
Setup
npm install @nialleccles/projector
Usage
const projector = require('@nialleccles/projector')
var myPlayer = new projector.Projector('<YouTubeVideoId>');
document.getElementById('<yourElementId>').addEventListener('click', ()=>{
myPlayer.start();
});