[ Feat : Adding Video Upload Option While Creating A Tutorial ] #203
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I have implemented a new feature by introducing a "featured_video" field, designed to store the link to a tutorial's video file. Users can now click on the MovieIcon component while creating a new tutorial, triggering a pop-up window that enables them to choose a video file for upload to Firebase. Additionally, I have introduced a new card named "CardWithVideo," utilizing CardMedia and linking to the video URL, to showcase videos on the HomePage. Also I have thought of some changes like instead of two different fields have one field called "featured_media_link" and cards like card with media and without media.
Related Issue
Fixes #192
Motivation and Context
Currently the user lacks the option for uploading his videos to tutorials so I tried to implement it.
How Has This Been Tested?
This change addresses the current lack of an option for users to upload videos for their tutorials, providing a solution to enhance the user experience.
Video demonstrating the change:
d0abaf98-0a10-4892-a035-95132dc265c8.mp4
Types of changes
Checklist: