mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #454] 如何让mkv文件在浏览器直接播放,而不是下载 #244
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @carlsue on GitHub (Sep 11, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/454
如题。如何让mkv文件在浏览器直接播放,而不是下载。
我看了下https://github.com/sigoden/dufs/tree/main/assets/index.js 其中const IFRAME_FORMATS =可以添加后缀,是不是添加重新编译就可以了呢?
@sigoden commented on GitHub (Sep 11, 2024):
No, modern browsers like Chrome don't natively support the MKV (Matroska) video format.
@ElTopo commented on GitHub (Sep 22, 2024):
@carlsue With chrome/edge, you can install "Media Player" addon, and then right click on .mkv file link, use "Play with Media Player", the .mkv will be played in a browser window (if Media Player addon has proper codec).
See:
https://chromewebstore.google.com/detail/mediaplayer-video-and-aud/mgmhnaapafpejpkhdhijgkljhpcpecpj?snuoi&pli=1
@carlsue commented on GitHub (Sep 24, 2024):
it's working,thanks!