Hey Vladimir I think you could a couple of things, namely : - try renaming your tiddler so it is a system tiddler ( eg $:\script\youtube.api ) ... I believe system tiddlers are loaded before content tiddlers ... not sure though that loading into the wiki store is enough to execute the script tag though... - try adding the field "*module-type" *with the value of "*startup" *and see if that changes the loading sequence enough to get it working .. not sure if this will work with the RawMarkup tag
If neither above works ... a better solution may be to change your tiddler to be *type *application/javascript and replace the contents with the code itself.. I know marking this with module-type = startup will make this code run before any content is rendered. Pulling in external libraries this way is the prefered approach as it makes sure it is available while offline ( although not as applicable in your use case ) .. and as the code in that link is not very big it will be a simple approach Cheers CB -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/28a13fd8-0cec-4c05-a668-88fad18637f0o%40googlegroups.com.
