diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/App.js | 4 | ||||
-rw-r--r-- | src/YoutubeEmbed.js | 17 |
2 files changed, 0 insertions, 21 deletions
@@ -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 |