SecurityError: Failed to read a named property 'event' from 'Window': Blocked a frame with origin "https://[site being iframed]" from accessing a cross-origin frame

Description
When Automatic captions feature is enabled for an account, clicking on the ‘Caption Language’ menu item crashes the Meeting Web SDK Client. Clicking on Show Captions work (and even allows us to select a language the first time it is enabled. Just not the ‘Caption Language’ item at all, regardless of whether or not the captions are currently enabled or not.

The zoom web meeting sdk client view is hosted on a server that is then iframed within another as a full area iframe (filling whatever the parent iframe’s size is). Iframe is cross-origin to the parent frame.

Browser Console Error
SecurityError: Failed to read a named property 'event' from 'Window': Blocked a frame with origin "https://[Site housing Zoom Embed]" from accessing a cross-origin frame.
at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:4089254 at div at w (https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:75:116080) at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:4085339 at div at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:4106571 at div at f (https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:3102989) at p (https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:3103579) at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:1735426 at l (https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:2243088) at div at div at _e (https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:1377861) at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:1382772 at l (https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:2243088) at div at div at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:2:23417 at div at footer at gt (https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:1403179) at l (https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:2243088) at div at div at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:751765 at l (https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:2243088) at div at div at t (https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:716500) at https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:1396547 at l (https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:2243088) at c at div at https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:826151 at l (https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:2243088) at t (https://source.zoom.us/3.13.2/ui/zoomus-websdk-preview.umd.min.js:2:310053) at errorBoundary(Connect(Component)) at s (https://source.zoom.us/3.13.2/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:2241610) at s (https://source.zoom.us/3.13.2/ui/zoomus-websdk-main-client.umd.min.js:84:827723)

Which Web Meeting SDK version?
3.13.2

Meeting SDK Code Snippets
Nothing super custom on the webpage. CSS loads through <head> and scripts loaded in <body>. No other elements on the page. We have JavaScript in place to query the parent frame for the display name and email to use as part of the Zoom initialization, as well as the current language used on the parent iframe so that we load the same language for the Zoom embed.

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Ensure Auto Captions are enabled for Zoom Account.
  2. Auto initialize with no zoom authentication / use guest with name and email.
  3. Click on More → Captions → Caption Language: item
  4. See error (The ‘Report Problem’ instantly popups up with ‘Unknown Error’).
    • Browser Error as noted above.

Screenshots
If applicable, add screenshots to help explain your problem.


Troubleshooting Routes
Works if not being embedded elsewhere, since the deprecated event item isn’t available on cross-origin iframe.

Device (please complete the following information):

  • Device: Macbook Pro
  • OS: macOS 15.5
  • Browser: Chrome
  • Browser Version: 137.0.7151.104 (Official Build) (arm64)

Additional context

window.event is deprecated per MDN’s documentation.

1 Like

Bumping this bug report of sorts - any assistance/updates from the Zoom Devs greatly appreciated