Add Cubetta to your website

Copy one piece of code and paste it into your site. It works on WordPress, Wix, Squarespace and any other website. Nothing to install on your server.

1What do you want to show?

Upload the file to your website first (see step 3), then paste its link here. The link above is a sample video you can try.

2Copy this code


    
  

3Paste it into your site

WordPress

Easiest: install the Cubetta plugin. Then you never need the code.

  1. Download the Cubetta plugin (a small .zip file).
  2. In WordPress, go to Plugins → Add New → Upload Plugin, choose the .zip file, then press Install Now and Activate.
  3. Upload your .cubetta file in Media → Add New, open it and press Copy URL to clipboard.
  4. Paste that link on its own line in any post or page. It turns into the video player.

Without the plugin: add a Custom HTML block and paste the code from step 2. (WordPress.com sites need a plan that allows plugins or custom code.)

Wix
  1. In the Wix Editor press Add (+) → Embed Code → Embed HTML.
  2. Choose Code, paste the code from step 2 and press Update.
  3. Drag the box's corners to the size you want.

Wix cannot store .cubetta files itself, so keep the video somewhere else that gives a public link (see "Where can I put my video file?").

Squarespace
  1. Edit the page, press Add Block and choose Code.
  2. Paste the code from step 2 and turn Display Source off.
  3. Save. The player shows on the live site (the editor may show a placeholder).

Code blocks with scripts need a Business plan or higher. On other plans use the Iframe code in an Embed block.

Shopify, Webflow, Ghost, Notion sites and others

Look for a block called Custom HTML, Embed or Code and paste the code there. If the site builder removes scripts, use the Iframe code instead.

Your own HTML page

Paste the code where the video should appear. Put the .cubetta file next to the page and use just its name as the link, for example my-video.cubetta.

Where can I put my video file?

Best is your own website, because then it always works: upload the .cubetta file the way you upload pictures or documents. A file on another website plays only if that website lets other sites read its files. If your video does not load, that is the usual reason. Make a .cubetta file with the live demo (Save .cubetta).

Private video calls between your members

For dating sites, and any site where people meet someone they don't know yet. A Private video call button on your site: each tap makes a brand new call link, and the other member gets a Join private video call button on their own screen. Neither of them sees the other's name, account, phone number or internet address, nothing is saved after the call, the link works for one call and stops after 24 hours, and Block in the call stops it at once. Nobody needs a Cubetta account.

Write to contact@cubetta.video with your site's address and we send you its code. It looks like this:

<script src="https://cubetta.video/embed/cubetta.js" data-cubetta-license="your site's licence"></script>

<!-- the member who starts the call -->
<cubetta-private-call></cubetta-private-call>
<script>
  addEventListener("cubetta-link", (e) => sendToTheOtherMember(e.detail.link));  // with your site's own messages
</script>

<!-- the other member: the link you sent them -->
<cubetta-private-call link="https://cubetta.video/call/#p_..."></cubetta-private-call>

From your own code, Cubetta.privateLink() gives a new link ({ link, expires }) without a button.