Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube VideoPreview component
import React from 'react';
import {Image} from 'semantic-ui-react';
import './VideoPreview.scss';
export class VideoPreview extends React.Component {
render() {
return (
<div className='video-preview'>
<div className='image-container'>
<Image src='http://via.placeholder.com/210x118'/>
<div className='time-label'>
<span>05:22</span>
</div>
</div>
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.