mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-27 19:15:26 +03:00
Merge pull request #581 from filecoin-project/fix/video-not-showing
fix: .mov videos not showing
This commit is contained in:
commit
985b33b831
@ -118,6 +118,8 @@ export default class SlateMediaObject extends React.Component {
|
||||
}}
|
||||
>
|
||||
<source src={url} type={playType} />
|
||||
{/** Note(Amine): fallback if video type isn't supported (example .mov) */}
|
||||
<source src={url} type="video/mp4" />
|
||||
</video>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user