Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Display non-picture files correctly #4

Open
Snazzah opened this issue Mar 6, 2019 · 3 comments
Open

Display non-picture files correctly #4

Snazzah opened this issue Mar 6, 2019 · 3 comments

Comments

@Snazzah
Copy link

Snazzah commented Mar 6, 2019

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

@LukeWolfGames
Copy link

LukeWolfGames commented Mar 18, 2019

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

@LukeWolfGames
Copy link

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

@AlekEagle
Copy link
Contributor

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.

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

No branches or pull requests

3 participants