Twitter Video Downloader AI Prompt

 Create a Twitter Video Downloader in HTML with Advanced Features

Objective:
Build a sleek and user-friendly Twitter Video Downloader web page using HTML, CSS, and JavaScript. The tool should allow users to input a Twitter video URL and download the video in various resolutions (e.g., 360p, 720p, 1080p), including options for audio-only downloads.

Key Features:

  1. URL Input Form:

    • Input field to paste the Twitter video URL.

    • Validate the URL format to ensure it's a valid Twitter link.

    • Real-time feedback if the URL is invalid.

  2. Fetch Video Data:

    • On submit, fetch available video qualities via a backend API (assume it's available or mocked).

    • Display video thumbnail, title (if possible), and available formats.

  3. Resolution and Format Selection:

    • Let users choose between video resolutions and audio-only versions.

    • Provide buttons to download each version.

  4. Advanced UI/UX:

    • Responsive design for mobile and desktop.

    • Use modern UI elements: loading spinners, tooltips, hover effects, and transitions.

  5. Optional Features (Advanced):

    • Dark mode toggle.

    • Recent downloads history (stored locally using localStorage).

    • Copy link to clipboard button.

    • Progress bar for downloads.

  6. Security Considerations:

    • Sanitize user inputs.

    • Display errors gracefully if the video cannot be fetched.

Technical Requirements:

  • Pure HTML, CSS, and JavaScript (no frameworks required unless justified).

  • The backend API call can be mocked using JSON if not available.

  • Use async/await for clean and modern JavaScript.

  • Modular, reusable code.

Bonus:

  • Add drag-and-drop support for video URLs.

  • Implement keyboard accessibility (e.g., Enter to submit, Tab navigation).

Comments

Popular posts from this blog

Advanced Bandwidth Calculator AI Promt

TikTok Video Downloader AI Promt

Pregnancy Calculator Tools Creator AI Prompt