BetterDiscordPlugins icon indicating copy to clipboard operation
BetterDiscordPlugins copied to clipboard

[FileViewer Request] Opotion to embed a video player on known video file types

Open BuyMyMojo opened this issue 2 years ago • 1 comments
trafficstars

For specific codecs like AV1 or .mkv containers discord will not embed as videos.

Could FileViewer be modified to detect these files and place a basic HTML5 video player either bellow or in place of the file?

I placed a video player inside the message div of an av1 video file that I know discord won't play and it does in fact play back properly

<video width="320" height="240" controls>
    <source src="https://cdn.discordapp.com/attachments/895445608570163220/1106062699714064405/discord.mp4" type="video/mp4">
</video>

image

BuyMyMojo avatar May 11 '23 03:05 BuyMyMojo

Seeing as this has not been answered or acknowledged in literal months (I actually made a similar suggestion almost a year ago), I will take the liberty and let you know that I am developing a plugin that does exactly this. Look out for it in the future.

Knewest avatar Sep 27 '23 09:09 Knewest