Merge pull request #581 from filecoin-project/fix/video-not-showing

fix: .mov videos not showing
This commit is contained in:
CAKE 2021-02-26 11:11:05 -08:00 committed by GitHub
commit 985b33b831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
);
}