From 4225ad7d3e4d0f3768ebc74461703a20231f1c5d Mon Sep 17 00:00:00 2001 From: Ayushya Amitabh Date: Fri, 17 Apr 2020 14:42:56 -0400 Subject: [PATCH] v0.9-hotfix --- src/index.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/index.js b/src/index.js index 91f4992..5a58a03 100644 --- a/src/index.js +++ b/src/index.js @@ -36,19 +36,6 @@ switch (getPlayerSource()) { break; } -// document.body.addEventListener('DOMNodeInserted', (ev) => -// console.log('DOC CHANGE', ev.target.tagName === 'VIDEO') -// ); -const VideoPlayer = document.createElement('video'); -VideoPlayer.autoplay = true; -VideoPlayer.muted = true; -VideoPlayer.controls = true; -VideoPlayer.style.width = '300px'; -VideoPlayer.src = - 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'; -VideoPlayer.addEventListener('change', (e) => console.log(e)); -document.body.appendChild(VideoPlayer); - ReactDOM.render(