updated video css for previews
This commit is contained in:
parent
5b9e7c04af
commit
5b8dfea5c5
3 changed files with 3 additions and 3 deletions
|
@ -543,7 +543,7 @@ table {
|
|||
|
||||
/* show */
|
||||
|
||||
#video {
|
||||
.video {
|
||||
cursor: pointer;
|
||||
background-color: #ffffff;
|
||||
width: calc(100% - 12px - 12px - 2px);
|
||||
|
|
|
@ -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}`}
|
||||
/>
|
||||
|
|
|
@ -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}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue