ComputerScienceHouse / ComputerScienceHouse/gallery

Allow Users to Choose (override) Video Thumbnails

Ouverte
#33 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement good first issue
Langage dominant
Python
Étoiles
22
Forks
30
Merge moyen
2 h 26 min
PR mergées (30 j)
1

Description

Right now Gallery selects the video thumbnail automatically by capturing the frame 5% into the duration of the video. While this works in most cases it isn't ideal for every case, and allowing for users to choose their own thumbnail for videos isn't too difficult of a feat. Especially if we still auto-generate a thumbnail on upload, and then give users the ability to select a thumbnail.

Since Gallery uses the HTML5 Video Element this feature can take use of that API. It could be as simple as providing a button on the video playback page that would take the current playback position of the video and then use that frame for the newly generated thumbnail.

On the backend this would probably include downloading the video from S3 and then running the thumbnail generation function. We'll need to change that function so we can plumb the playback position to it somehow, but that can be left up as an implementation detail.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by locating the video playback page, the upload flow, and the thumbnail generation function described in the issue. Trace how the current 5%-duration thumbnail is created and how videos are stored in S3. Done means a user can select the current playback frame as a thumbnail while automatic thumbnail generation on upload still works.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
aws, flask, html, python
Domaine
backend, cloud, frontend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.