Skip to content

[WIP] Add option to upload video or paste YouTube link - #2

Merged
Bhargavi-hash merged 1 commit into
mainfrom
copilot/add-video-upload-option
Jan 24, 2026
Merged

[WIP] Add option to upload video or paste YouTube link#2
Bhargavi-hash merged 1 commit into
mainfrom
copilot/add-video-upload-option

Conversation

Copilot AI commented Jan 24, 2026

Copy link
Copy Markdown
Contributor

Implementation Plan: Add YouTube Link Support

  • Add yt-dlp library to requirements.txt for YouTube video downloads
  • Update backend (app.py) to handle both file uploads and YouTube URLs
    • Add new endpoint or modify /upload to accept YouTube URLs
    • Add function to download YouTube videos using yt-dlp
    • Process downloaded videos same as uploaded files
  • Update frontend (index.html) to add option for YouTube URL input
    • Add toggle/tabs to switch between file upload and YouTube URL
    • Add input field for YouTube URL
  • Update frontend JavaScript (app.js) to handle YouTube URL submission
    • Detect which input method user selected
    • Send appropriate data to backend
  • Update CSS (style.css) to style the new YouTube URL input option
  • Test the implementation manually with both upload and YouTube URL
  • Take screenshot of UI changes
Original prompt

Give the users an option to either upload the video or paste a youtube link of the video


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Bhargavi-hash
Bhargavi-hash marked this pull request as ready for review January 24, 2026 06:05
@Bhargavi-hash
Bhargavi-hash merged commit 6e26053 into main Jan 24, 2026
1 check failed
Copilot AI requested a review from Bhargavi-hash January 24, 2026 06:06
Copilot stopped work on behalf of Bhargavi-hash due to an error January 24, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants