Cap icon indicating copy to clipboard operation
Cap copied to clipboard

Self-hosted Cap Web doesn't support embeds

Open Exerra opened this issue 4 months ago • 2 comments

Description

When using a self-hosted instance of Cap Web the embeds don't work.

There are two issues that make the embeds not work:

  1. The embed code generated in the website points to the cap.so instance rather than the self-hosted instance.
  2. Even when changing the domain manually to point to the self-hosted instance the embed pages just don't exist.

Reproduction

Incorrect embed code

On a self-hosted instance:

  1. Go to a recording
  2. Click the share button
  3. Navigate to the embed tab and look at the iframe src attribute in the generated embed code.

Embed pages not existing

On a self-hosted instance:

  1. Go to a recording
  2. Click the share button
  3. Navigate to the embed tab and copy the URL in the iframe src attribute
  4. Change the cap.so domain in the URL to the self-hosted instances domain
  5. Navigate to the modified domain in the browser

Instead of getting the embed page, you will be redirected to the dashboard.

Additional Context

  • Cap version: cap-web:latest
  • Operating system, version: Docker

Exerra avatar Aug 19 '25 09:08 Exerra

Same issue with me. It must be hardcoded in the code base

pievalentin avatar Sep 02 '25 14:09 pievalentin