aboutsummaryrefslogtreecommitdiff
path: root/src/YoutubeEmbed.js
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2018-07-03 19:07:13 +0100
committerMartin Ashby <martin@ashbysoft.com>2018-07-03 19:07:13 +0100
commit62bc310a2639d98df36f193a7dee8cac0dc536b5 (patch)
tree4aac505002aa7e33b41fed32843e0c116c506736 /src/YoutubeEmbed.js
parent585ac1563dcc89e1fac4526497c16c0bc7b9858e (diff)
downloadunicornpaint-62bc310a2639d98df36f193a7dee8cac0dc536b5.tar.gz
unicornpaint-62bc310a2639d98df36f193a7dee8cac0dc536b5.tar.bz2
unicornpaint-62bc310a2639d98df36f193a7dee8cac0dc536b5.tar.xz
unicornpaint-62bc310a2639d98df36f193a7dee8cac0dc536b5.zip
Slightly wider color indicator.
Youtube instead of periscope. Linter complaints resolved. Quicker deploy script.
Diffstat (limited to 'src/YoutubeEmbed.js')
-rw-r--r--src/YoutubeEmbed.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/YoutubeEmbed.js b/src/YoutubeEmbed.js
new file mode 100644
index 0000000..5c006c1
--- /dev/null
+++ b/src/YoutubeEmbed.js
@@ -0,0 +1,17 @@
+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