1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-28 13:05:14 +00:00

Add support for file type webm & ogg theora (#4404)

This commit is contained in:
Stefan Krüger
2020-01-04 12:27:13 +01:00
committed by Jeremy Ruston
parent 75ba862a7e
commit 1ed884cef4
2 changed files with 4 additions and 1 deletions

View File

@@ -2256,6 +2256,8 @@ $tw.boot.startup = function(options) {
$tw.utils.registerFileType("application/font-woff","base64",".woff");
$tw.utils.registerFileType("application/x-font-ttf","base64",".woff");
$tw.utils.registerFileType("audio/ogg","base64",".ogg");
$tw.utils.registerFileType("video/ogg","base64",[".ogm",".ogv",".ogg"]);
$tw.utils.registerFileType("video/webm","base64",".webm");
$tw.utils.registerFileType("video/mp4","base64",".mp4");
$tw.utils.registerFileType("audio/mp3","base64",".mp3");
$tw.utils.registerFileType("audio/mp4","base64",[".mp4",".m4a"]);