'''Short description''' Here is a refactored version. (Last week I did my first presentation using SinglePageslideShow, EmbedObject and the alpha Frame Parser together. For the people watching me it was handy to add comments on the slides afterwards. Some defaults were not used best on this macro. That's the reason I did completly refactor the code of this routine and did add some more mimetypes. -- ReimarBauer <>) My version does support following mimetypes at the moment working for linux: . application/x-shockwave-flash . application/x-dvi . application/postscript . application/pdf . application/ogg . application/vnd.visio (MS tested only) . image/x-ms-bmp . image/svg+xml . image/tiff . image/x-photoshop . audio/mpeg . audio/midi . audio/x-wav . video/fli . video/mpeg . video/quicktime . video/x-msvideo . chemical/x-pdb . x-world/x-vrml these and some more examples you got from http://fredrik.hubbe.net/plugger/test.html Currently I need to know if they all named to the same mimetype name on different platforms. e.g. {{{ >>> import mimetypes >>> mime_type, enc = mimetypes.guess_type("test.tif") >>> print mime_type image/tiff }}} -- ReimarBauer <> = Patch for 1.6 dev changeset: 1594:53bd1632c92a = (The added !EmbedObject.py macro does work in 1.5.5 and 1.6 version) {{attachment:EmbedObject_20061008_patch.txt}} complete routine [[attachment:EmbedObject.py]] (committed "as is" to 1.5 and 1.6 branches) ## Tell your story here. ## What is the problem you are trying to solve? ## Is this features useful to most users or just to specific users? ---- see also ../EmbedObjectExtensions, ../AltTextForEmbedObjectMacro ---- CategoryFeatureImplemented