Javascript SDK
After the nexxPLAY SDK is ready, the Frontend can embed as many Widget Containers on the Frontend as desired.
_play.control.addWidget(CONTAINER-ID, WIDGET-HASH, WIDGET-STREAMTYPE, CONFIG);The mentioned CONFIG is similar to nexxPLAY a Configuration Object, but of Type WidgetConfiguration.
var obj = { feedUpdateInterval: 30, slideUpdateInterval:10 };
var cfg = new _play.WidgetConfiguration(obj);
cfg.addOverride("animation", "zoom");
var widget = _play.control.addWidget("div", "HASH", "SECRET", cfg);You can find a List of all available Override Options here:
Widget Override OptionsThe addWidget Method will return a _play.WidgetInstance Object, which can be used to control the Widget via JavaScript after Initialization.
Last updated