# Unable to play cloud recordings shared in iframe

**URL:** <https://devforum.zoom.us/t/unable-to-play-cloud-recordings-shared-in-iframe/29146>\
**Category:** Web\
**Created:** [September 4, 2020, 6:36am UTC](https://devforum.zoom.us/t/unable-to-play-cloud-recordings-shared-in-iframe/29146 "2020-09-04T06:36:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.moody](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@michael.moody](https://devforum.zoom.us/u/michael.moody)\
**Post date:** [September 4, 2020, 6:36am UTC](https://devforum.zoom.us/t/unable-to-play-cloud-recordings-shared-in-iframe/29146/1 "2020-09-04T06:36:22Z")

</div>

**Description**  
We have a pipeline where our Zoom-using clients create cloud recordings, share the recordings, and copy the link into a field in our application, which embeds the recording into an iframe. Our application requires this behavior, as it is necessary for us to ensure that end-users view the recordings in order to receive educational credit. We support several meeting providers, and Zoom’s meetings are failing to play embedded in an iframe on Chrome. We have determined that this is a SameSite issue (disabling this solves the issue). We have searched all documentation relating to the SDK, but cannot find the recommended way to embed cloud recordings into our application. While it is straightforward to embed the meeting itself (while occurring), it doesn’t appear the SDK is built to allow embedded recordings. We can use the SDK to retrieve information about recordings from an authenticated account, but using authenticated accounts in our workflow wouldn’t be possible. The education provider needs to be able to embed their recorded meeting content.

The most straightfoward way would be to embed the meeting recording link directly, but this breaks. Secondarily, to use an SDK would also be ok, if available. The same meeting links work just fine directly in a tab. In an iframe, a 403 error occurs when attempting to retrieve the media (mp4) of the meeting itself. Analysis with Chrome shows the embedded cookies have issues, and are not valid within this context.

In contrast, a similar issue exists with YouTube if you do not use the proper /embed/ URL

**Error**  
Iframe embedded cloud recordings will not play in Chrome due to SameSite issues

**Which version?**  
N/A

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

1. Create Meeting Recording
2. Share meeting and determine recording link URL
3. Embed link URL into iframe
4. Be unable to play recording

**Screenshots**  
Available by request. Need sanitization guidance

**Smartphone (please complete the following information):**

- Device: Any Windows or macOS
- Browser: Chrome with SameSite changes from 2020

**Additional context**  
Works on other browsers without the SameSite change, including Mobile browsers. Works when SameSite is disabled in Chrome for temporary testing purposes.

---

<div class="post-metadata">

**Author:** ![michael.moody](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@michael.moody](https://devforum.zoom.us/u/michael.moody)\
**Post date:** [September 4, 2020, 6:38am UTC](https://devforum.zoom.us/t/unable-to-play-cloud-recordings-shared-in-iframe/29146/2 "2020-09-04T06:38:50Z")

</div>

![Screen Shot 2020-09-03 at 7.08.14 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/699507b74cf97243acb8f57a3ccaa0225fd95b83.png)

Making this change causes recordings to work, but is necessary on a per-client basis, and thus is not an option.

---

<div class="post-metadata">

**Author:** ![michael.moody](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@michael.moody](https://devforum.zoom.us/u/michael.moody)\
**Post date:** [September 4, 2020, 6:47am UTC](https://devforum.zoom.us/t/unable-to-play-cloud-recordings-shared-in-iframe/29146/3 "2020-09-04T06:47:20Z")

</div>

If at all possible, if Zoom was to:

1. Add a setting with cloud recordings permitting embed as an option  
OR
2. Assume everyone wanted to be able to embed

This would solve the issue.

The technical way to accomplish this would likely be to set the relevant cookies to SameSite None.

For known incompatible browsers that don’t support the None property:

> **[SameSite=None: Known Incompatible Clients - The Chromium Projects](https://www.chromium.org/updates/same-site/incompatible-clients)**
>
> Home of the Chromium Open Source Project

As this content is likely to be used on third party sites in most use cases, it makes sense to set the cookie SameSite to None, rather than Lax or other options.

The most ideal situation would of course be a setting when sharing the recording that enables embed functionality (perhaps on by default).

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 9, 2020, 6:26am UTC](https://devforum.zoom.us/t/unable-to-play-cloud-recordings-shared-in-iframe/29146/4 "2020-09-09T06:26:40Z")

</div>

Hey @michael.moody,

Checkout my post here:

> [@Embed cloud recording](https://devforum.zoom.us/t/embed-cloud-recording/14822/6):
>
> Hey @Itomic, @sara.banks We are working on a solution like that. In the meantime, your best bet is to upload the video to youtube and then [embed the video to your site](https://support.google.com/youtube/answer/171780?hl=en). Youtube is more optimized for embedding then the Zoom recording link. Thanks, Tommy

Let me know if that helps answer your question. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 9, 2020, 4:26pm UTC](https://devforum.zoom.us/t/unable-to-play-cloud-recordings-shared-in-iframe/29146/5 "2020-10-09T16:26:43Z")

</div>

Closed on October 9, 2020, 4:26pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
