# How to integrate cloud recording to Vimeo to embed it?

**URL:** <https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754>\
**Category:** API and Webhooks\
**Created:** [October 18, 2017, 11:07am UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754 "2017-10-18T11:07:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALabs\_T1](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ALabs\_T1](https://devforum.zoom.us/u/ALabs_T1)\
**Post date:** [October 18, 2017, 11:07am UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754/1 "2017-10-18T11:07:20Z")

</div>

Hi,

&nbsp;

I need to integrate ZOOM cloud recording to my website using embed. I did not find any official option to embed the cloud recording.

&nbsp;

So I thought if ZOOM cloud recording can automatically get uploaded to Vimeo from there I can embed it in my website.

&nbsp;

Thanks,

Tejas Shah

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [October 18, 2017, 5:34pm UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754/2 "2017-10-18T17:34:03Z")

</div>

You are able to get a url to the video via&nbsp;[https://zoom.github.io/api/#get-recording](https://zoom.github.io/api/#get-recording) ‘download\_url’

&nbsp;

you can use hat url to ‘embed’ as you see fit

&nbsp;

(you also get a ‘play\_url’ that is a link to page that has the video embedded in it)

---

<div class="post-metadata">

**Author:** ![ALabs\_T1](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ALabs\_T1](https://devforum.zoom.us/u/ALabs_T1)\
**Post date:** [October 24, 2017, 8:53am UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754/3 "2017-10-24T08:53:26Z")

</div>

Hi Joshua Woodward,

&nbsp;

When i use&nbsp;download\_url it’s down the video automatically not&nbsp;embed.

Can you please guide me or show a demo.

* * *

Find the listed demo of i have tried.

&nbsp;

```
\<?php
$url = 'https://api.zoom.us/v1/recording/get';
$fields = array(
 'api\_key' =\> urlencode('YOUR\_API\_KEY'),
 'api\_secret' =\> urlencode('YOUR\_API\_SECRET'),
 'meeting\_id' =\> urlencode('YOUR\_MEETING\_ID')
);

//url-ify the data for the POST
$fields\_string = "";
foreach($fields as $key=\>$value) { $fields\_string .= $key.'='.$value.'&'; }
rtrim($fields\_string, '&');

//open connection
$ch = curl\_init();

//set the url, number of POST vars, POST data
curl\_setopt($ch,CURLOPT\_URL, $url);
curl\_setopt($ch,CURLOPT\_POST, count($fields));
curl\_setopt($ch,CURLOPT\_POSTFIELDS, $fields\_string);
curl\_setopt($ch,CURLOPT\_RETURNTRANSFER,1);

//execute post
$result = curl\_exec($ch);

$result\_data = json\_decode($result,true);
foreach($result\_data['recording\_files'] as $keyRecording =\> $valueRecording){
 if($valueRecording["file\_type"] == "MP4"){
 ?\>\<iframe width="425" height="344" src="\<?php echo $valueRecording['play\_url']; ?\>" frameborder="0" allowfullscreen\>\</iframe\>\<br\>\<br\>\<?php
 }
}
//close connection
curl\_close($ch);
?\>

Already tried with play\_url and embed the video but not working.

Hope any one help me.
```

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [October 24, 2017, 5:31pm UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754/4 "2017-10-24T17:31:37Z")

</div>

Where you have \<iframe…

Try \<video src="\<?php echo $valueRecording[‘download\_url’]; ?\>\</video\>

[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video)

---

<div class="post-metadata">

**Author:** ![ALabs\_T1](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ALabs\_T1](https://devforum.zoom.us/u/ALabs_T1)\
**Post date:** [October 25, 2017, 9:44am UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754/5 "2017-10-25T09:44:19Z")

</div>

Hi,&nbsp;

Please find the HTML source code as per your instruction.

&nbsp;

| &nbsp; | \<html\> |  
| &nbsp; | \<head\> |  
| &nbsp; | \<title\>HTML5 Live Streaming Test\</title\> |  
| &nbsp; | \<script type=“text/javascript” src=“[http://gc.kis.v2.scr.kaspersky-labs.com/1C73702E-E37A-2842-92AC-E42CA55640C0/main.js](http://gc.kis.v2.scr.kaspersky-labs.com/1C73702E-E37A-2842-92AC-E42CA55640C0/main.js)” charset=“UTF-8”\>\</script\>\</head\> |  
| &nbsp; | \<body\> |  
| &nbsp; | \<video width=“640” height=“400” controls=“controls” src=“[https://api.zoom.us/recording/play/ljtxFOizWWwhF3\_k9bEHObuYlWJ9MhTL3QatB\_Xx3TQUC\_kXbuG\_B1SFsR8NBBF9](https://api.zoom.us/recording/play/ljtxFOizWWwhF3_k9bEHObuYlWJ9MhTL3QatB_Xx3TQUC_kXbuG_B1SFsR8NBBF9)”\> |  
| &nbsp; | \</video\> |  
| &nbsp; | \</body\> |  
| &nbsp; |

\</html\>

&nbsp;

It’s not working can you please guide me if any thing that i can miss.

&nbsp;

|

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [October 25, 2017, 6:09pm UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754/6 "2017-10-25T18:09:16Z")

</div>

First, whatever JS file you have included appears to be blocking the loading of the video file.

Second, it appears you are using the play url, which is an html page not to the mp4 itself.

Third, if you try to visit the download url&nbsp;[https://api.zoom.us/recording/download/ljtxFOizWWwhF3\_k9bEHObuYlWJ9MhTL3QatB\_Xx3TQUC\_kXbuG\_B1SFsR8NBBF9](https://api.zoom.us/recording/download/ljtxFOizWWwhF3_k9bEHObuYlWJ9MhTL3QatB_Xx3TQUC_kXbuG_B1SFsR8NBBF9) it appears the admin has turned off downloading of recordings, which would be required to gain access to the video file.

&nbsp;

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:19pm UTC](https://devforum.zoom.us/t/how-to-integrate-cloud-recording-to-vimeo-to-embed-it/754/7 "2020-08-21T17:19:48Z")

</div>

Closed on August 21, 2020, 5:19pm UTC


