v0.9-hotfix

This commit is contained in:
Ayushya Amitabh
2020-04-17 14:42:56 -04:00
parent 15679cd001
commit 4225ad7d3e
-13
View File
@@ -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(
<React.StrictMode>
<App />