Widget React Plugin
The nexxPLAY Widget System works also in any React Project. You can simply embed any iFrame Plugin to embed a nexxPLAY Widget instance directly.
For more Control, 3Q offers a dedicated React Plugin, that can be added to your Project easily. It supports Widgets and all Post-Message controlled Functionality.
You can find the Project here:
Integration
A very simple Usage could look like this:
Supported Attributes
You can use the following Attributes directly in your JSX - only "domain" and "widgetHash" are mandatory, the rest is optional (if you need any other Streamtype than "video", "streamtype" is also mandatory").
Interacting with the Widget
If you want to interact with the Widget, you must set "launchMode" to "none" and add a "onWigetClick" Listener to the Component.
This Function will then get all available Details of the clicked Media Item, and your App can process this in any desired Way.
Last updated