Generate thumbnails for showcase materials #36

Open
opened 2022-06-04 20:31:48 +00:00 by MartinFouilleul · 2 comments

The previews for the videos in the community showcase panel appear black on Safari 13.1. (webm support is flaky in old versions of Safari, but mp4 previews also appear black)

The previews for the videos in the community showcase panel appear black on Safari 13.1. (webm support is flaky in old versions of Safari, but mp4 previews also appear black)
Owner

The video previews are jank and need to be replaced with a proper thumbnail thing. They're literally just <video> tags with some attributes set so they don't load more than the initial thumbnail. Chrome and Firefox display the first frame of the video when you do this. Unfortunately Safari does not. (I knew this was the case on mobile, but apparently this is also true on desktop.)

What we should actually be doing is extracting the first frame of the video using ffmpeg or whatever, and saving that as a separate linked asset.

The video previews are jank and need to be replaced with a proper thumbnail thing. They're literally just `<video>` tags with some attributes set so they don't load more than the initial thumbnail. Chrome and Firefox display the first frame of the video when you do this. Unfortunately Safari does not. (I knew this was the case on mobile, but apparently this is also true on desktop.) What we should _actually_ be doing is extracting the first frame of the video using ffmpeg or whatever, and saving that as a separate linked asset.
bvisness added this to the Jam 2022 milestone 2022-06-22 22:30:05 +00:00
bvisness changed title from Community showcase video previews don't work on Safari 13.1 to Generate thumbnails for showcase materials 2022-08-16 13:04:00 +00:00
Owner

Turns out our issues extend beyond video. The showcase right now is loading a GIF that is a whopping 25MB. So we'll need to extract the first frame there too.

Turns out our issues extend beyond video. The showcase right now is loading a GIF that is a whopping 25MB. So we'll need to extract the first frame there too.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/hmn#36
No description provided.