SuperFlyTV / GraphicsDataDefinition

A subset of JSON-schema, defining a generic data interchange bwtween graphics templates and their controllers
MIT License
18 stars 4 forks source link

Expose Graphics Data Definition on the window object #2

Closed jstarpl closed 2 years ago

jstarpl commented 2 years ago

I propose that we also standardize exposing the Graphics Data Definition on the window object, as this will allow the greatest level of re-usability of the templates, including online, SaaS-type applications.

While it would probably be possible for the host application to do the parsing of the meta-tag themselves, I see one scenario, where - if the referenced URL is absolute and the CORS settings are not set correctly, the host application may not be able to download the referenced GDD file, while the hosted template will be able to do so. Because of that, I believe it should be up to the template to establish the API, much in the same way as we expect it to handle calls to play(), stop() or setData().

nytamin commented 2 years ago

With the change to using the Githubissues.

  • Githubissues is a development platform for aggregating issues.