Once you have downloaded the video files, follow these steps:
Move your downloaded videos to the correct location:
# Move all video files to assets/dummy/
mv ~/Downloads/clip*.mp4 assets/dummy/# Check that all 9 videos exist
ls -lh assets/dummy/clip{9..17}.mp4Expected output:
clip9.mp4 (AI-generated from Grok)
clip10.mp4 (AI-generated from Grok)
clip11.mp4 (AI-generated from Grok)
clip12.mp4 (YouTube deepfake)
clip13.mp4 (YouTube deepfake)
clip14.mp4 (YouTube deepfake)
clip15.mp4 (YouTube verified - MRT)
clip16.mp4 (Instagram verified)
clip17.mp4 (Instagram verified)
./scripts/optimize-videos.shThis will:
- Compress videos to <5MB each
- Resize to 720p max resolution
- Optimize for web streaming
./scripts/generate-thumbnails.shThis will create thumbnail images (img14.jpg through img22.jpg).
./scripts/upload-to-firebase.shThis will upload all videos to:
gs://codeandconquer-fb59c.firebasestorage.app/demo-videos/
# Test that all videos are accessible
for i in {9..17}; do
curl -I "https://storage.googleapis.com/codeandconquer-fb59c.firebasestorage.app/demo-videos/clip$i.mp4"
doneAll should return HTTP/1.1 200 OK.
# Build the app
rm -rf dist/ && npx expo export -p web
# Deploy to Firebase Hosting
firebase deploy --only hosting- Open: https://codeandconquersg.web.app
- Scroll to posts 13-21
- Click on each status badge
- Verify AI analysis triggers correctly
If you still need to download videos manually:
- clip9.mp4: https://grok.com/imagine/post/c2f580b7-93ee-4b82-b68e-ded30bb23250
- clip10.mp4: https://grok.com/imagine/post/23c46f19-6171-4358-8b5f-172268fcffc2
- clip11.mp4: https://grok.com/imagine/post/e48303ac-ba55-4e54-b98c-77fc796c80ce
- clip12.mp4: https://www.youtube.com/shorts/0dTmRCHdXT8
- clip13.mp4: https://youtube.com/shorts/4g_vYZJVw9s
- clip14.mp4: https://youtu.be/LTQfBfvpv_k
- clip15.mp4: https://youtu.be/MuJdsIPJ18A
- clip16.mp4: https://www.instagram.com/reel/DThpnH4kpe6/
- clip17.mp4: https://www.instagram.com/reel/DUpDUf4jRcp/
- Check that you're logged in:
firebase login - Verify project:
firebase use codeandconquer-fb59c - Check storage permissions in Firebase Console
- Ensure ffmpeg is installed:
brew install ffmpeg - Verify video file is valid MP4
- Try different timestamp: Edit script to use
-ss 00:00:02
- Clear cache:
rm -rf node_modules && npm install - Check file sizes: Videos should be <10MB each
Check the logs:
- Firebase Console: https://console.firebase.google.com/project/codeandconquer-fb59c
- Browser Console: F12 → Console tab
- Network Tab: F12 → Network tab