You can embed any Blarb channel into a webpage using an <iframe>
.
<iframe src="https://blarb.net/general" width="100%" height="500" frameborder="0"></iframe>
This will embed the general
channel into your webpage.
You can pass optional query parameters to customize the embed.
Parameter | Type | Description |
---|---|---|
name |
string | Optional. Sets the nickname that will appear for the user. |
cssURL |
string | Optional. URL to a custom CSS file to override the default Blarb styling. |
<iframe src="https://blarb.net/general?name=Alice" width="100%" height="500" frameborder="0"></iframe>
In this example, the user will appear as Alice.
<iframe
src="https://blarb.net/general?cssURL=https://example.com/custom.css"
width="100%"
height="500"
frameborder="0"
></iframe>
This example applies custom styles from custom.css
.
<iframe
src="https://blarb.net/general?name=Alice&cssURL=https://example.com/custom.css"
width="100%"
height="500"
frameborder="0"
>
</iframe>
This will embed the general
channel, set the user’s name to Alice, and apply custom styling.