Composer: display uploaded video preview
This commit is contained in:
parent
3bae6e25e1
commit
80c18f0fed
3 changed files with 19 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -277,15 +277,33 @@
|
|||
}
|
||||
&.active { opacity: 1; }
|
||||
}
|
||||
|
||||
&-preview {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
|
||||
video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.compose-form__upload-thumbnail {
|
||||
border-radius: 4px;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
height: 140px;
|
||||
height: 160px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
&.video {
|
||||
background-image: url('../images/video-placeholder.png');
|
||||
|
|
Loading…
Reference in a new issue