kaltura/mwEmbed — pull request #226 by mdale (2012-09-17 08:58:15+00:00)
Title: Ui conf js async fixes

This fixes uiConf js includes to block player build out until the resources are included. With 1.7 a cached player renders so quickly that it can beat the uiConf js on page plugin async includes, so in this pull request we now block on resolving onPage plugin resources.

To optimally solve this problem for embed JavaScript services, we will want the per-uiconf url redirects to include the uiConf ids so that we can package in the onPage plugins at the mwEmbedLoader level as part of that request that is taking place anyway.

This way all the scripts have already been packaged in, before we issue the kWidget.embed call and we avoid blocking kWidget.embed call to resolve onPage plugins.