fix(electron): missing video (#4451)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-09-22 05:56:43 +00:00
1 parent a6d19abc73
commit 092e2e0a3d
7 files changed
+15 -8

No files matched your search

+1 -1
View File
@@ -291,7 +291,7 @@ export const createConfiguration: (
exclude: [/node_modules/],
},
{
test: /\.(png|jpg|gif|svg|webp)$/,
test: /\.(png|jpg|gif|svg|webp|mp4)$/,
type: 'asset/resource',
},
{
Binary file not shown.
Binary file not shown.
@@ -17,8 +17,10 @@ export default {
let id = 0;
const image = (
<video autoPlay muted loop>
<source src="/editingVideo.mp4" type="video/mp4" />
<source src="/editingVideo.webm" type="video/webm" />
<source
src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
type="video/mp4"
/>
</video>
);
export const Basic = () => {