Kaltura player embed is overwriting div attributes, causing problems with React

Hello,

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 kWidget.embed.

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?