Embeds

Expose key information about your content on Challengermode on third-party websites or other clients.

Overview

Define an <iframe> tag on your website in which the src URL specifies the content to load as well as any other parameters you want to set.

Base URL

The base src URL for Challengermode embeds is localhost/embed.

Requirements

  • Domains that use Challengermode embeds must use SSL certificates.
  • Challengermode may revoke embed usage for domains that are not in compliance.
  • Challengermode reserves the right to revoke your ability to use our embeddable experiences, for any reason, at any time.

Tournaments

Overview card

To embed a Challengermode tournament overview card on your website, please use this snippet:
<iframe src="localhost/embed/tournaments/<tournamentId>"
        width="<width>"
        height="<height>">
</iframe>
Parameters
Name
Type
Description
tournamentId
string

The ID of the tournament used in the iframe SRC.

width
number or string

Width of the iframe (in pixels). Can be expressed as a percentage by passing a string like "50%".

height
number or string

Height of the iframe (in pixels). Can be expressed as a percentage by passing a string like "50%".

Marketplace

Listing card

To embed a Challengermode marketplace listing card on your website, please use this snippet:
<iframe src="localhost/embed/marketplace/listings/<listingId>"
        width="<width>"
        height="<height>">
</iframe>
Parameters
Name
Type
Description
listingId
string

The ID of the marketplace listing used in the iframe src.

width
number or string

Width of the iframe (in pixels). Can be expressed as a percentage by passing a string like "50%".

height
number or string

Height of the iframe (in pixels). Can be expressed as a percentage by passing a string like "50%".