Skip to content

🚀 Feature: Support for discord embedding of media content #22

@Xaero252

Description

@Xaero252

🔖 Feature description

Add basic 302 redirection with pseudo paths for files within a share to allow for direct embedding of media content in Discord

🎤 Pitch

Discord uses some pretty basic validation using the reported filename and/or content of a file to decide whether or not it can be directly embedded or not. As an example you can test with https://discord.nfp.is/
This site serves a "fake" path using an extension that matches something Discord will accept (example: *.webm) It then responds with a 302 code saying that the content was "moved" to the actual path, which causes Discord to render the requested content with that path.

This is one solution, where another would be to expose the file extension in the direct file links.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PlannedWill be considered for next release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions