]> git.sesse.net Git - mlt/commit
Tell loader how to use WebVfx.
authorDan Dennedy <dan@dennedy.org>
Thu, 14 Mar 2013 03:15:53 +0000 (20:15 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 14 Mar 2013 03:16:16 +0000 (20:16 -0700)
commit28f5ff6752886b50898e9d270cd2c30fd61a33d8
treeb22e6a12d11fba80e2afbfd6649d8d0fbfef46cc
parent41d044a32749f8665bf501a893b0f3613dfdbebe
Tell loader how to use WebVfx.

With my latest (merged) patches to WebVfx, one can load plain old HTML
and QML files. They do not need webvfx script to initialize rendering -
with some caveats about the meaning of document-loaded. However, without
this loader change, plain resources need  to prefaced with "plain:". The
loader producer can now do that and instead "webvfx:" is needed to tell
webvfx to wait for script in the content to call
WebVfx.renderReady(true) (unless you use "webvfx:plain:...").

Also, WebVfx can also now load HTML over HTTP. This is especially handy
if your content is updating itself with data from a web service.
Otherwise, you will run into cross-site-scripting errors.
src/modules/core/loader.dict
src/modules/core/producer_loader.c