Skip to content

Commit

Permalink
remove local images and videos
Browse files Browse the repository at this point in the history
  • Loading branch information
osamasayed committed Mar 11, 2024
1 parent 2409be2 commit 622f5ee
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
Binary file removed public/videos/abstract.mp4
Binary file not shown.
Binary file removed public/videos/nature.mp4
Binary file not shown.
Binary file removed public/videos/sea.mp4
Binary file not shown.
Binary file removed public/videos/snow.mp4
Binary file not shown.
Binary file removed public/videos/stars.mp4
Binary file not shown.
Binary file removed public/videos/thumbnails/abstract.png
Binary file not shown.
Binary file removed public/videos/thumbnails/nature.png
Binary file not shown.
Binary file removed public/videos/thumbnails/sea.png
Binary file not shown.
Binary file removed public/videos/thumbnails/snow.png
Binary file not shown.
Binary file removed public/videos/thumbnails/stars.png
Binary file not shown.
Binary file removed public/videos/thumbnails/windmill.png
Binary file not shown.
Binary file removed public/videos/windmill.mp4
Binary file not shown.
4 changes: 2 additions & 2 deletions src/components/VideoGenerator/VideoContent.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-unsafe-optional-chaining */
import { useSelector } from 'react-redux';
import { AbsoluteFill, Audio, Sequence, Video, staticFile } from 'remotion';
import { AbsoluteFill, Audio, Sequence, Video } from 'remotion';

import styles from './video.module.scss';

Expand Down Expand Up @@ -46,7 +46,7 @@ const VideoContent = ({
}}
>
<div className={styles.videoContainer}>
<Video loop src={staticFile(video.videoSrc)} />
<Video loop src={video.videoSrc} />
</div>
<Audio
startFrom={
Expand Down
24 changes: 12 additions & 12 deletions src/components/VideoGenerator/VideoUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,33 +60,33 @@ export function getVideosArray() {
export function getVideos() {
return {
1: {
thumbnailSrc: '/videos/thumbnails/sea.png',
videoSrc: '/videos/sea.mp4',
thumbnailSrc: 'https://images.quran.com/videos/thumbnails/sea.png',
videoSrc: 'https://images.quran.com/videos/sea.mp4',
watermarkColor: 'light',
},
2: {
thumbnailSrc: '/videos/thumbnails/abstract.png',
videoSrc: '/videos/abstract.mp4',
thumbnailSrc: 'https://images.quran.com/videos/thumbnails/abstract.png',
videoSrc: 'https://images.quran.com/videos/abstract.mp4',
watermarkColor: 'light',
},
3: {
thumbnailSrc: '/videos/thumbnails/windmill.png',
videoSrc: '/videos/windmill.mp4',
thumbnailSrc: 'https://images.quran.com/videos/thumbnails/windmill.png',
videoSrc: 'https://images.quran.com/videos/windmill.mp4',
watermarkColor: 'light',
},
4: {
thumbnailSrc: '/videos/thumbnails/stars.png',
videoSrc: '/videos/stars.mp4',
thumbnailSrc: 'https://images.quran.com/videos/thumbnails/stars.png',
videoSrc: 'https://images.quran.com/videos/stars.mp4',
watermarkColor: 'light',
},
5: {
thumbnailSrc: '/videos/thumbnails/nature.png',
videoSrc: '/videos/nature.mp4',
thumbnailSrc: 'https://images.quran.com/videos/thumbnails/nature.png',
videoSrc: 'https://images.quran.com/videos/nature.mp4',
watermarkColor: 'light',
},
6: {
thumbnailSrc: '/videos/thumbnails/snow.png',
videoSrc: '/videos/snow.mp4',
thumbnailSrc: 'https://images.quran.com/videos/thumbnails/snow.png',
videoSrc: 'https://images.quran.com/videos/snow.mp4',
watermarkColor: 'dark',
},
};
Expand Down

0 comments on commit 622f5ee

Please sign in to comment.