Skip to main content
Webinar widget

A widget that always shows your latest webinars on your website

Luuk de Jonge avatar
Written by Luuk de Jonge
Updated over a week ago

The webinar widget always displays your latest upcoming webinars or replays. By using the widget, you can embed it once - and forget about it after. Your attendees, will always see your latest webinars.

After they click on one of the webinars in your widget, a new tab will open to the registration page of that webinar.

Webinar widget

The widget is an iFrame that you need to embed on your website or blog. Learn more on how to embed an iFrame.

Webinar widget on Contrast that shows upcoming webinars

How to use the webinar widget

Head over to /settings on Contrast. Here you'll find the webinar widget. Copy the iFrame to your clipboard. Now paste the widget as an iFrame.

Webinar widget on Contrast

Brand your webinar widget (primaryColor=)

The widget automatically takes the color from your brand kit, as set up in /settings. If you want to change the color, you can do this by changing the color code in iFrame.

<iframe src="https://app.getcontrast.dev/widgets/modern-working-group/upcoming-events?count=3&primaryColor=%23D91608&title=Upcoming%20events" style="width: 100%; height: 100%; min-height: 364px;" title="Contrast Upcoming Events" frameborder="0"> </iframe>

Please make sure you provide the color in #HEX. Note that # becomes % when dealing with URLs. So for example #FF5065 becomes color=%23ff5065

Change widget label (title=)

You can manually change the label Upcoming events by changing it inside the iFrame. In this example, we've changed upcoming events to upcoming webinars.

Note that here we use % instead of a regular space

<iframe src="https://app.getcontrast.io/widgets/modern-working-group/upcoming-events?count=3&primaryColor=%23F5F8FF&title=Upcoming%20webinars" style="width: 100%; height: 100%; min-height: 364px;" title="Upcoming webinars" frameborder="0"> </iframe>

Change widget size

Out of the box, the widget is responsiveness. This means that the widget will adjust to the browser's viewport size. You can tweak the widget's size by adjusting the width, height and min-height. Involve your developer if you don't know what you're doing.

Show upcoming webinars only

By selecting upcoming, we'll only show your upcoming webinars. Using the dropdown, you can select how many webinars you want to be visible in the widget. The default is 3.

πŸ’‘ Publish a webinar for it to appear in the webinar widget

Show replay webinars only

By selecting replay, we'll only show your upcoming webinars. Using the dropdown, you can select how many webinars you want to be visible in the widget. The default is 3.

πŸ’‘ Publish a webinar for it to appear in the webinar widget

Show both upcoming and replay webinars

By selecting both options, we'll only show upcoming webinars and replays in the same widget. Using the dropdown, you can select how many webinars you want to be visible in the widget.

πŸ’‘ You can also embed both widgets independently from one another

Did this answer your question?