react-video
Version:
React component to load video from Vimeo or Youtube across any device
15 lines (13 loc) • 468 B
JSX
var React = require('react');
module.exports = React.createClass({
render() {
return (
<div className='video-loading'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32">
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"></path>
</svg>
</div>
);
}
});