scorelab / Codelabz

Codelabz
Apache License 2.0
144 stars 409 forks source link

[ Feat : Adding Video Upload Option While Creating A Tutorial ] #1153

Open rohitPandey469 opened 7 months ago

rohitPandey469 commented 7 months ago

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 #1081

Motivation and Context

Currently the user lacks the option for uploading his videos to tutorials so I just worked on 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:

https://github.com/scorelab/Codelabz/assets/123815256/369b9743-5af1-4939-8703-14047fd273dc

Types of changes

Checklist: