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

added mov and webp support #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

added mov and webp support #30

wants to merge 2 commits into from

Conversation

Meleeman01
Copy link
Contributor

was relatively simple, just a few things to check, added webp's to the thumbnail logic, and tested with transparancy and without and have confirmed this on my local instance. mov was generated with ffmpeg from an mp4 file. also works and displays with a default html5 video player

image
image
image

Copy link
Member

@itsrachelfish itsrachelfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes only work when uploading files via the upload page. It is also possible to embed images and video by including them in a wiki page, for example:

img[https://download.havecamerawilltravel.com/sample-images/webp/webp-example.webp]

If you try to embed this image into a wiki page it returns an error:

image/webp: Unsupported format! Please use: jpg, gif, png, webm, gifv, mp4, or ogv

Screenshot from 2024-10-28 00-22-17

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

Successfully merging this pull request may close these issues.

2 participants