Ah, I see. So I probably just need to set up a context object and give it a require() that fixes the one specific absolute module name and thain chains to the $tw.modules.execute(). And then I run the video.js plugin sources through $tw.utils.evalSandboxed(). If that's more or less all then a generalization would be overkill, as there's really not much to generalize then.
Thank you very much for pointing me to the interesting places and clarifying things, so I can now try some code. Before, I wasn't sure that I could change require() functionality at all, or if so, how. Best regards, TheDiveO -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/613834d7-74ff-4217-9bd5-26a584b4c6fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

