aboutsummaryrefslogtreecommitdiff
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
parent62bc310a2639d98df36f193a7dee8cac0dc536b5 (diff)
downloadunicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.tar.gz
unicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.tar.bz2
unicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.tar.xz
unicornpaint-c580ac85833223228a77c9ce46b16e197e2690e6.zip
Remove youtube embed
-rw-r--r--package-lock.json28
-rw-r--r--src/App.js4
-rw-r--r--src/YoutubeEmbed.js17
3 files changed, 21 insertions, 28 deletions
diff --git a/package-lock.json b/package-lock.json
index 7c417b2..ac8e45a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3989,11 +3989,13 @@
},
"balanced-match": {
"version": "1.0.0",
- "bundled": true
+ "bundled": true,
+ "optional": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
+ "optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -4006,15 +4008,18 @@
},
"code-point-at": {
"version": "1.1.0",
- "bundled": true
+ "bundled": true,
+ "optional": true
},
"concat-map": {
"version": "0.0.1",
- "bundled": true
+ "bundled": true,
+ "optional": true
},
"console-control-strings": {
"version": "1.1.0",
- "bundled": true
+ "bundled": true,
+ "optional": true
},
"core-util-is": {
"version": "1.0.2",
@@ -4117,7 +4122,8 @@
},
"inherits": {
"version": "2.0.3",
- "bundled": true
+ "bundled": true,
+ "optional": true
},
"ini": {
"version": "1.3.5",
@@ -4127,6 +4133,7 @@
"is-fullwidth-code-point": {
"version": "1.0.0",
"bundled": true,
+ "optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@@ -4139,17 +4146,20 @@
"minimatch": {
"version": "3.0.4",
"bundled": true,
+ "optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "0.0.8",
- "bundled": true
+ "bundled": true,
+ "optional": true
},
"minipass": {
"version": "2.2.4",
"bundled": true,
+ "optional": true,
"requires": {
"safe-buffer": "^5.1.1",
"yallist": "^3.0.0"
@@ -4166,6 +4176,7 @@
"mkdirp": {
"version": "0.5.1",
"bundled": true,
+ "optional": true,
"requires": {
"minimist": "0.0.8"
}
@@ -4238,7 +4249,8 @@
},
"number-is-nan": {
"version": "1.0.1",
- "bundled": true
+ "bundled": true,
+ "optional": true
},
"object-assign": {
"version": "4.1.1",
@@ -4248,6 +4260,7 @@
"once": {
"version": "1.4.0",
"bundled": true,
+ "optional": true,
"requires": {
"wrappy": "1"
}
@@ -4353,6 +4366,7 @@
"string-width": {
"version": "1.0.2",
"bundled": true,
+ "optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
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