mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 07:32:59 +00:00 
			
		
		
		
	Add audio/ogg to the list of recognised audio formats
This commit is contained in:
		| @@ -1759,6 +1759,7 @@ $tw.boot.startup = function(options) { | ||||
| 	$tw.utils.registerFileType("image/svg+xml","utf8",".svg",{flags:["image"]}); | ||||
| 	$tw.utils.registerFileType("image/x-icon","base64",".ico",{flags:["image"]}); | ||||
| 	$tw.utils.registerFileType("application/font-woff","base64",".woff"); | ||||
| 	$tw.utils.registerFileType("audio/ogg","base64",".ogg"); | ||||
| 	$tw.utils.registerFileType("audio/mp3","base64",".mp3"); | ||||
| 	$tw.utils.registerFileType("audio/mp4","base64",[".mp4",".m4a"]); | ||||
| 	$tw.utils.registerFileType("text/x-markdown","utf8",[".md",".markdown"]); | ||||
|   | ||||
| @@ -29,6 +29,7 @@ var AudioParser = function(type,text,options) { | ||||
| 	this.tree = [element]; | ||||
| }; | ||||
|  | ||||
| exports["audio/ogg"] = AudioParser; | ||||
| exports["audio/mpeg"] = AudioParser; | ||||
| exports["audio/mp3"] = AudioParser; | ||||
| exports["audio/mp4"] = AudioParser; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Xavier Cazin
					Xavier Cazin