> I've been enjoying the QuickEdit plugin and would love it if I could > have a button to click on that would embed any media file. > So instead of the line in QuickEdit_image: > return config.quickEdit.setSelection(this,'[img['+tip+fn+']]');" > it would allow me to insert something like this: > <html><embed src="+fn" autoplay="false"></embed></html> > Where fn could be any audio, video or image. > I'm basically trying to create an easy multimedia Tiddly that allows > users to insert, tag and describe their own media.
Although this is not a direct answer to your particular question... Instead of using HTML syntax, you might like to try this: http://www.TiddlyTools.com/#PlayerPlugin * type-specific <object> code embeds media plugins (if installed on your system) with *fallbacks* to <embed> syntax for older/unsupported browsers * auto-detects file extensions: Windows Media: ['mms', '.asx', '.wvx', '.wmv', '.mp3'], RealOne: ['rtsp', '.ram', '.rpm', '.rm', '.ra'], QuickTime: ['.mov', '.qt'], Flash: ['.swf', '.flv'], Images: ['.jpg', '.gif', '.png'], Web pages: ['.htm', '.html', '.shtml', '.php'] * specify params for height, width, autoplay, show/hide controls enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

