--- title: "iFrame integration" slug: "iframe-integration" updated: 2024-01-18T14:55:29Z published: 2024-01-18T14:55:29Z canonical: "help.movingimage.com/iframe-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.movingimage.com/llms.txt > Use this file to discover all available pages before exploring further. # iFrame integration # CorporateTube Iframe Integration ### Overview You can integrate CorporateTube content into an existing page as an encapsulated inline frame (iframe) with the help of some simple JavaScript and two JavaScript client libraries. > The iFrame integration is intended for publicly available videos in CorporateTube. It will not work for private CorporateTube accounts that require authentication. ### Integration 1. Create a `<div>` element on the parent page into which the iframe will be placed. > [!WARNING] > The `<div>` needs to be given an `id` ("ct-frame-wrapper" in the below [example](/v1/docs/iframe-integration#example)). 2. Obtain the JavaScript client libraries `embed.js` and `iframeSizer.min.js`. You can download them from movingimage EVP here: [embed.js](https://movingimage-website-external.corporate.tube/iframe/embed.js) [iframeSizer.min.js](https://movingimage-website-external.corporate.tube/iframe/iframeResizer.min.js) 3. Load both libraries and a custom snippet of JavaScript in the
section of the parent page. See the example at the bottom of the page. ### Configuration options | Option | Description | Default value | | --- | --- | --- | | `ctUrl` | CorporateTube URL to be used for integration | `window.location.origin` | | `wrapperId` | `id` used in the `div` element which will hold the iframe | `ct-frame-wrapper` | | `basePath` | Relative path of the parent frame into which the iframe will be rendered | "" (empty string) | ### Example ```plaintext