π₯ Embed Player Names
Showcase the names of chess competitors stylishly and tailor them to match your platformβs look with PawnTown's player name embedding feature π. This guide will lead you through the embedding process and explain how to customize the appearance to align with your visual preferences π¨. Letβs dive in!
HTML
To showcase the player names on your platform, utilize the following embed link. Be sure to replace [streamId]
with the specific ID of your live stream:
<iframe
src="https://pawn.town/s/[streamId]/embed/names"
width="100%"
height="60"
frameborder="0"
scrolling="no"
></iframe>
Query Parameters
Parameter | Description |
---|---|
fc (Foreground Color) | Choose the color for the player names text. Can be a color value like green or hex %23000000 (=#000000 ). |
bg (Background Color) | Set the background color for the player names section. Can be a color value like green or hex %23000000 (=#000000 ). |
f (Font Family) | Determine the font family for the player names. |
s (Font Size) | Adjust the font size for the player names text. |
Example of Using Parameters: To customize the player names display with black text on a white background, using the Arial font at 16px size, your URL would look like this:
https://pawn.town/s/[streamId]/embed/names?fc=%23000000&bg=%23ffffff&f=Arial&s=16px