Skip to content

Self-hosted Cap Web doesn't support embeds #906

@Exerra

Description

@Exerra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions