JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://react-control-list-attribute.surge.sh/react.production.min.js"></script>
<script src="https://react-control-list-attribute.surge.sh/react-dom.production.min.js"></script>
<div id="container"></div>
Babel + JSX
class App extends React.Component {
componentDidMount() {
console.log(this.video.controlsList)
}
render() {
return (
<div>
<h1>Hello, {this.props.name}</h1>
<video controlsList="nofullscreen" ref={(el) => this.video = el}></video>
</div>
);
}
}
ReactDOM.render(<App name="world"/>, document.getElementById('container'));