Passing parameters from HTML5 embed to LUA

I’m dev’ing an HTML5 app for a client, and I would need to pass a parameter from the HTML embed file to the LUA. (I’m loading content asynchronously and I need to set a URL to get it from).

Any pointers ?

One can to use a global object, for example ‘window’ or ‘Module’, to pass a parameter from HTML to Lua. And then in Lua you can read the parameter using simple JS plugin.

One can to use a global object, for example ‘window’ or ‘Module’, to pass a parameter from HTML to Lua. And then in Lua you can read the parameter using simple JS plugin.