Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Users to Choose (override) Video Thumbnails #33

Open
liam-middlebrook opened this issue Dec 27, 2017 · 0 comments
Open

Allow Users to Choose (override) Video Thumbnails #33

liam-middlebrook opened this issue Dec 27, 2017 · 0 comments

Comments

@liam-middlebrook
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant