Complete video optimization tool with: - 21 platform configurations (Meta, TikTok, YouTube, Pinterest, Snapchat, Amazon) - FFmpeg-powered video conversion with H264, H265, and VP9 codecs - Python Flask backend with REST API - HTML/JS frontend with drag-drop interface - Black + #FFC407 color scheme with Montserrat font - Side-by-side video comparison player - Filename auto-detection for platform and aspect ratio - MAMP-compatible setup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
458 B
JavaScript
18 lines
458 B
JavaScript
// Configuration file for Video Optimizer
|
|
// Update this based on your setup
|
|
|
|
const CONFIG = {
|
|
// Python Flask backend URL (keep running in separate terminal)
|
|
API_BASE: 'http://localhost:5000/api',
|
|
|
|
// Maximum file size in bytes (500MB default)
|
|
MAX_FILE_SIZE: 500 * 1024 * 1024,
|
|
|
|
// Enable debug logging
|
|
DEBUG: true
|
|
};
|
|
|
|
// Export for use in app.js
|
|
if (typeof module !== 'undefined' && module.exports) {
|
|
module.exports = CONFIG;
|
|
}
|