aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2018-12-30 22:34:36 +0000
committerMartin Ashby <martin@ashbysoft.com>2018-12-30 22:34:36 +0000
commitc580ac85833223228a77c9ce46b16e197e2690e6 (patch)
tree725d7955aa5b56ec68b4f18c023a901fac6611aa /src
parent62bc310a2639d98df36f193a7dee8cac0dc536b5 (diff)
downloadunicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.tar.gz
unicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.tar.bz2
unicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.tar.xz
unicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.zip
Remove youtube embed
Diffstat (limited to 'src')
-rw-r--r--src/App.js4
-rw-r--r--src/YoutubeEmbed.js17
2 files changed, 0 insertions, 21 deletions
diff --git a/src/App.js b/src/App.js
index 5c88f5d..3fffd17 100644
--- a/src/App.js
+++ b/src/App.js
@@ -10,7 +10,6 @@ import ConnectedIndicator from './ConnectedIndicator'
import LoadDialog from './LoadDialog'
import SaveDialog from './SaveDialog'
import FrameControl from './FrameControl'
-import YoutubeEmbed from './YoutubeEmbed'
import '@fortawesome/fontawesome-free-webfonts/css/fontawesome.css'
import '@fortawesome/fontawesome-free-webfonts/css/fa-solid.css'
import '@fortawesome/fontawesome-free-webfonts/css/fa-regular.css'
@@ -268,9 +267,6 @@ class App extends Component {
onFrameSelected={ frame => this.setState({selectedFrame: frame}) }
imageData={imageData}/>
</div>
- <div className="liveFeed">
- <YoutubeEmbed/>
- </div>
<div>
{
showingLoad
diff --git a/src/YoutubeEmbed.js b/src/YoutubeEmbed.js
deleted file mode 100644
index 5c006c1..0000000
--- a/src/YoutubeEmbed.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import React, { Component } from 'react'
-
-export default class YoutubeEmbed extends Component {
- shouldComponentUpdate() {
- return false
- }
- render() {
- return <iframe
- title="live stream"
- width="350"
- height="350"
- src="https://www.youtube.com/embed/HFlAhWwCdfE?autoplay=1"
- frameBorder="0"
- allow="autoplay; encrypted-media"
- allowFullScreen></iframe>
- }
-} \ No newline at end of file