Hi,
I think you’ve already set up the required attributes to play encrypted streams via iFrame , but let me double check the below points
- Are the both sites (the parent and the embedded) deployed via
https
? - Does your iframe element have the
allow="encrypted-media"
attribute?
From the error message, it seems the site wasn’t allowed to use the browser’s EME API via iFrame. So I suppose the iframe’s feature policy could be related.
Here are the reference pages of iframe attributes and feature-policy:encrypted-media.
Best Regards,
Kazuhide