I have a simple React component which just renders 3 divs, one of them I use as the target to embed the kaltura iframe, using
But, before the embed executes, the div has an attribute which is created by React,
data-reactid, and React depends on it to find the element.
When the Embed runs, it removes this attribute from the div, making React throw errors because it can’t find the element anymore.
Is there a way to Embed the iframe without changing the div attributes?