Hi,
Thank you for contacting IMA SDK Support Team.
According to the
AdDisplayContainer documentation, the videoElement is an optional parameter that specifies an alternative video element for ad playback. It is strongly recommended to always pass in your content video player.
Regarding your query about checking if the video player is being reused, I understand your uncertainty. When inspecting the ad container's video player element structure, there doesn't appear to be a specific ID attached. However, it seems that if you provide a videoElement, the SDK will reuse your existing video player. If you pass null, a new player will be created.
Are you currently experiencing any issues with ad playback? Alternatively, could you please share your business logic or the specific goal you are trying to achieve by verifying the reusability of the video player?
