Commit ed81d265 authored by Thomas Marrinan's avatar Thomas Marrinan

added bmp image support


Former-commit-id: 07a2aec26bfd21abc5551bd0368a33b85e89164b
parent 7df8218e
......@@ -33,16 +33,17 @@ function appLoader(publicDir, hostOrigin, displayWidth, displayHeight, titleBarH
this.titleBarHeight = titleBarHeight;
this.mime2app = {
"image/jpeg": "image_viewer",
"image/png": "image_viewer",
"image/tiff": "image_viewer",
"image/vnd.adobe.photoshop": "image_viewer",
"video/mp4": "movie_player",
"video/youtube": "movie_player",
"application/pdf": "pdf_viewer",
"application/zip": "custom_app",
"application/x-zip-compressed": "custom_app",
"application/custom": "custom_app",
"application/stream": "media_stream"
"image/png": "image_viewer",
"image/bmp": "image_viewer",
"image/tiff": "image_viewer",
"image/vnd.adobe.photoshop": "image_viewer",
"video/mp4": "movie_player",
"video/youtube": "movie_player",
"application/pdf": "pdf_viewer",
"application/zip": "custom_app",
"application/x-zip-compressed": "custom_app",
"application/custom": "custom_app",
"application/stream": "media_stream"
};
this.app2dir = {
"image_viewer": "images",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment