I’m trying to create an extension which would show some interactive infographics over the video stream. This infographics would be clickable by viewer, would display some animated panels containing additional information related to the video stream. For better understading, let’s imagine a football video stream where user can interactively show and hide player statistics, match information etc. while other streamer could provide different video stream with different infographics. This infographics would be configurable by the streamer by providing a URL address to the infographics ‘renderer’ in the extension settings. This content URL is limited to a domain which is whitelisted in the extension features settings so the extension would not be able to be abused by inserting any random content.
Does this have a solution? Can I, for example, use my custom configuration service API to store the infographics content and then load it from configuration on viewers side during runtime? Or is there a way how to setup CSP to allow the extension to load and run my external content?
Thanks for any advices.