aboutsummaryrefslogtreecommitdiff
path: root/src/YoutubeEmbed.js
blob: 5c006c13a3a6dd45c8de232a97b907c3d925210d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>
    }
}