fix: mobile + m4v video
This commit is contained in:
parent
7839c78ee6
commit
1687edb945
2 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@ function VideoViewer(props: Props) {
|
|||
'video/x-ms-wmv',
|
||||
'video/x-msvideo',
|
||||
'video/mpeg',
|
||||
'video/m4v',
|
||||
];
|
||||
const forceMp4 = forceTypes.includes(contentType);
|
||||
const [requireRedraw, setRequireRedraw] = useState(false);
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
min-width: auto;
|
||||
margin-bottom: 0;
|
||||
border-radius: 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue