cache-monkey icon indicating copy to clipboard operation
cache-monkey copied to clipboard

Display non-picture files correctly

Open Snazzah opened this issue 5 years ago • 3 comments

So far the files that do not show correctly are: .mp4, .webm, .mpeg - Video formats .woff, .woff2, .otf - Font formats

Problem

These formats flat out do not load, except .mp4 which loads alright when previewing.

Solution

Video

Generate the first frame of the video when using video formats and use that as thumbnails. For the preview, the only thing I can think of is converting the file unless there is a good NPM package out there.

Font

Display the alphabet in upper and lowercase in the given font in the preview. For thumbnails, use the fonts rendition of "Aa".

Specs

CacheMonkey 1.0.7, commit 8439335 Microsoft Windows 10 Home Version 10.0.17134 Build 17134

Snazzah avatar Mar 06 '19 03:03 Snazzah

No videos not even mp4s load for me, how are they are loading for you?

LukeWolfGames avatar Mar 18 '19 00:03 LukeWolfGames

Yes I realise that. What I'm saying is how are mp4s loading for this guy? He says they do load for him.

LukeWolfGames avatar May 20 '19 10:05 LukeWolfGames

I'm pretty sure mp4 files have an automatic thumbnail thing, but that shouldn't matter as the file is being set as the background image of the box it's preview is shown in.

AlekEagle avatar May 20 '19 13:05 AlekEagle