iFrame Integration
Customize how your attendees view your translations and captions using iframe Integration.
Often, the easiest way to integrate Wordly translations into a platform or web application is to embed the ‘attend’ client in an HTML iFrame.
You can customize how Wordly translations appear by embedding them in your own web page or event platform using an iFrame. This allows you to add your logo or other branding elements, around the translation panel, outside the iFrame.
You can:
- Get a copy of the iFrame Attend URL.
- Create a custom iFrame Attend URL where you can set attributes, such as text color and speaker language.
- Upload a spreadsheet of your bulk sessions and have your iFrame settings applied to each session.
To get the 'attend' iFrame
-
From the Wordly dashboard, select Sessions from the left side menu. Click "Get Links to Join.”
-
Expand the “Embed Wordly” box and click “Copy iFrame Attend URL.”

iFrame builder
You can create your custom Wordly iFrame URL by using Wordly's iFrame builder below. For more information on the Wordly iFrame builder, read To use iFrame builder.
To use iFrame builder
- Enter the Session ID and passcode, if necessary.
- Enter the parameters that you want for your Wordly source URL.
- (Optional) Click "Preview URL" to view how the URL appears with the parameters set. You can edit the parameters and view the changes live in the preview URL.
- Click "Copy URL" to copy the URL to your clipboard, or click "Copy iFrame" to copy the iFrame to your clipboard.
iFrame Embed
The basic HTML code for embedding Wordly translations in an iframe uses the standard HTML iframe tag:
<iframe src="url" />
You place this in your application wherever you would like Wordly translations to appear. Typically you want to set width and height so the iframe will fill the space you leave for it. This can be done directly in the iframe tag, or via a class attribute. Example:
<iframe src="url" width="100%" height="300px" />
Source URL
The url to use as the source should contain the Wordly session ID that you want. The format is:
https://attend.wordly.ai/frame/<session id>
Example:
https://attend.wordly.ai/frame/ABCD-1234
where ABCD-1234 is the Wordly session ID obtained from the session.
Source URL parameters
The url takes a number of optional arguments that can be used with sessions that require a passcode and to change the way the iframe content is displayed:
By default, Wordly identifies an attendee's language based on their browser settings. However, applying this url parameter overrides these individual defaults, forcing that chosen language for every participant in the session.
| Parameter | Description |
| key | The session passcode if one is required to attend. Open sessions don't require a passcode. |
| lang | The initial language code of the translations for this user. This value can be used to set the default language for all attendees. The default is the user's last choice or English. Read Language Codes for the list of language codes. |
| fgcolor | HTML color for the text in the iframe. This value can be any valid HTML color name or a custom hex RGBA color. The default is white. |
| bgcolor | HTML color for the background of the iframe. This value can be any valid HTML color name or a custom hex RGBA color. The default is black. |
| fgsize | HTML size value for the text in the iframe. This value can be any valid HTML text size, including units. The default is the container text size and is not often used. |
| tags | Boolean value that can be set to “true" to display speaker names in the iframe. The default is “false.” |
| speakerLanguage | Boolean value that can be set to “false” to hide the display of the language the speaker is using. The default is “true.” |
| enableTTS | Boolean value that can be set to “true” to enable text-to-speech support. When this value is ‘true,’ new buttons are added to the bottom bar allowing the user to enable and disable text-to-speech.The default is “false“. |
| finalOnly | Boolean value that can be set to “true” to change the default value for the Show only complete phrases user setting. When this value is “true,” only completed translations will be shown to the user and partial translations will be suppressed. |
| showScrollbar | Boolean value that can be set to “false” to prevent the scrollbar from appearing in the frame. When this value is set to “false,” users cannot scroll back to read earlier parts of a transcript. |
| hide | List of Wordly language codes to hide from the user. This parameter is a string of codes separated by commas. The specified languages will be removed from the various menus presented to the user. For example: ?hide=en,es,fr will remove English, Spanish, and French from the language menus. See Language Codes for the list of language codes. |
| show | List of Wordly language codes to show to the user. This parameter is a string of codes separated by commas. The specified languages will be the only ones included in the various menus presented to the user. Example: ?show=en,es,fr reduces all language menus to just English, Spanish, and French. See Language Codes for the list of language codes. |
Examples:
A url to display session ‘XXXX-0000’ in Spanish with big, green text would be:
https://attend.wordly.ai/frame/XXXX-0000?lang=es&fgcolor=00FF00&fgsize=5em
and this embedded in an iframe in your HTML might look like:
<iframe src="https://attend.wordly.ai/frame/XXXX-0000?lang=es&fgcolor=00FF00" width="100%" />
and would appear like so:

A url to display session “XXXX-0000” with TTS enabled:
https://attend.wordly.ai/frame/XXXX-0000?enableTTS=true
and this embedded in an iframe in your HTML might look like:
<iframe src="https://attend.wordly.ai/frame/XXXX-0000?enableTTS=true" width="100%" />
and would appear like so:

Apply iFrame configuration to bulk sessions
You can download a spreadsheet of your bulk sessions from Wordly, and upload the spreadsheet to the iFrame builder. The builder can add an iFrame URL and iFrame embed code for each session with your customized iFrame attributes.
- Go to Wordly's iFrame's builder.
- Scroll down to "STEP 6 - Spreadsheet merge."
- Drag and drop your Wordly session spreadsheet in the area provided, or click the area to browse for your file. You can upload one of the following types: CSV, XLSX, or XLS.
- The iFrame builder adds two columns with the correct values to your spreadsheet: iframe_url and iframe_code.
- Click "Download merged file."
The downloaded merged file now has a customized iFrame URL and iFrame embed code for each session.