updated video css for previews

This commit is contained in:
bill bittner 2018-03-04 12:17:03 -08:00
parent 5b9e7c04af
commit 5b8dfea5c5
3 changed files with 3 additions and 3 deletions

View file

@ -543,7 +543,7 @@ table {
/* show */
#video {
.video {
cursor: pointer;
background-color: #ffffff;
width: calc(100% - 12px - 12px - 2px);

View file

@ -51,7 +51,7 @@ class AssetDisplay extends React.Component {
);
case 'video/mp4':
return (
<video id='video' className='asset' controls poster={thumbnail}>
<video className='asset video' controls poster={thumbnail}>
<source
src={`/${claimId}/${name}.${fileExt}`}
/>

View file

@ -24,7 +24,7 @@ const AssetPreview = ({ claimData: { name, claimId, fileExt, contentType, thumbn
case 'video/mp4':
return (
<img
className={'asset-preview'}
className={'asset-preview video'}
src={thumbnail || defaultThumbnail}
alt={name}
/>