iFrame Component
Outline
This component is recommended for use when creating accessible courses ONLY if the content that will be displayed in the iFrame meets the appropriate level of accessibility for the target audience.
The iFrame component lets you embed iFrame content from anywhere inside your course to be displayed to learners.
This article provides an overview of the iFrame component as well as component setup and behavior.
Component overview
The iFrame component is a presentation component that lets you display information from outside your course by embedding iFrame content to your learners. For example, the iFrame component can display an embedded webpage or a form.
The iFrame component is fully responsive and flexible. It can also be read by screen readers.
Component set up
To add this component, follow the steps in this article:
![](https://cdn.exceedlms.com/uploads/organizations/favicons/2617/small/favicon-new.png?1660078018&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL29yZ2FuaXphdGlvbnMvZmF2aWNvbnMvMjYxNy9zbWFsbC9mYXZpY29uLW5ldy5wbmc~MTY2MDA3ODAxOCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyNTc5NDg2OX19fV19&Signature=BXgvfGhsJvZ28rOFzWd~9QjQtzDCY0l2UXAl7T5Y0j6KonwyDZ9IGGb9Un9yoOUWPrkss9Wi59o2KOvZrf76IZl-Pw25qcKSuwkSQYDi4DJ~o~xiisPjZZ3U8ioveIsSwWwYhBTwobGiCsxP97e2WoL8tN5UbC30cTnYrtfMQUpuMDDKX0D3Fta9s7u6mnD7mQgNPupduL1E8I4QgQ7a3o57D6YgmHHiz0wo8d9oBMilRa0OtPGwZ08qKblrVM7iCCvkh7fLaHP8vhiT08UWODZhBvxSODFcOfV6ExR2RxEwYY9r78HmpZnjQxsRPPrmg8pAUHdrKmhTW83v2NaOjA__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
Add a Component
Explore everything there is to know about Evolve. This collection begins with the basics of Evolve and completes with information on the tool's more advanced features. Feel free to start from the beginning or hop around to the specific section that suits your needs.
![](https://cdn.exceedlms.com/uploads/resource_recommended_pictures/targets/4367659/activity_preview/cover-art-2.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX3JlY29tbWVuZGVkX3BpY3R1cmVzL3RhcmdldHMvNDM2NzY1OS9hY3Rpdml0eV9wcmV2aWV3L2NvdmVyLWFydC0yLmpwZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyNTgwNzI5NX19fV19&Signature=fD9xlSM3FWdfq0P6TOwP-RpW~9Pqxv~SLiZ1ajpRooV1HBlP1t8YZnWjZ6Py8~AoUrxPlxq9zeEZoOzvPP~XKY1l82DWsKFEuPEvXScS~fj6OBWlMdK1gBK0Onz6rw5KTop1jtOorCVB-XxrhyZ8WODoV-7g1qudFAi8uNl~aXEaMOY0Z6dTMDo55tDgUxZ7EE9AUt4l~h9m7n0puDJ4XBeuwXyETkF-FMTKRLoMAx9DzbBLS4QFmB4gdXDfsh3jBy3LKD0TbNmLAHMGtnKc2oTog8iOTBegBuOKhOuPIbPQmtXAMQOayHQsK2g4J20HaFqKZqu-NIYyZVT5zW1xuw__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
The Property Panel for the newly added component will then open automatically for you to customize set-up.
Or click anywhere on an existing component to open the Property Panel.
General section
![](https://cdn.exceedlms.com/uploads/resource_images/targets/4367805/page_regular/evolve-iframe-general-settings-062223.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzQzNjc4MDUvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtZ2VuZXJhbC1zZXR0aW5ncy0wNjIyMjMucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzI1NzYxMDIwfX19XX0_&Signature=EDN-woFIgEatiV3azd1rJrF4vVDxCl~zpo1ZSxV64~WCIBtej51D7BuxT8yjOTPiWNMmxhqzAkR6392SH3f1MN6HMsh1YZ7StUe9ePLbk23KVRaeNgoJHf7O0KGkXzrMFzl7weW2hU6NCjliVr0oCo2ZTpAGBL44NXOwXw9XgxF15ljcqH-GDKG7530s9uidWNFK8D8F1kMLPMmlB0fX17WTKlUWVCXaYPRsLLGtmR74iy--Nnqyl19S48D6WBEjZO2tF0ZdGnoFI6x5MlL03rS2jha2rjzobrlF81H~O9Psfqct35UjVPKz-71G719aDbYhZcZSfFiV96sG8pJr5w__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
In the General Section, you Add Title, or an Display Title, as needed. Display Title is seen by learners.
![](https://cdn.exceedlms.com/uploads/resource_images/targets/4367807/page_regular/evolve-code-general-settings-2-053023.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzQzNjc4MDcvcGFnZV9yZWd1bGFyL2V2b2x2ZS1jb2RlLWdlbmVyYWwtc2V0dGluZ3MtMi0wNTMwMjMucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzI1NzYxMDIwfX19XX0_&Signature=ejyLcn1oRSuNiYgWpDZaXMEI8M-lX2Nsu-8Qu-8Or-Uu2aTjsUeto2xkX9UrsxMYpiTqqEhS4to7qlVNUkPI4bKd3Xe8hnQnx4GlUElLn6u4JXBaDjnSu8ColODCjMeo8jrFQUmnKjYr3pW8B6eRm1XlJRYer8bvpLdIS19nGIvgYwPKyVGyeiWGsaOEeLcS8-SkqmYlm8Ni67fhOyjGj5wUplfyI08nM9lwO6vSzdOaby9d56u6er2GXVn~gOImKmKIMI8x2kvj63NCkcgq5S1~OfItuPyK9zebOJ8Aw1vpS4bmYzoPS8lqmSgTW~E20cZXRKpLuWSSxxy~HQXg1Q__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
Add Body. Use the text editor to style and format your text, as needed.
![](https://cdn.exceedlms.com/uploads/resource_images/targets/4367823/page_regular/evolve-iframe-general-settings-2-062223.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzQzNjc4MjMvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtZ2VuZXJhbC1zZXR0aW5ncy0yLTA2MjIyMy5wbmciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MjU3NjEwMjB9fX1dfQ__&Signature=a2vXJLdLWsImwZcAvNUcmPuSW3ZSgGIbZ1DuEk0ctHsD5o1vppUtwnOet9nZsXIykR76-yRQULStdGywDzuG-~12LpzRCpT8o6rBgk3MPc2ikkG-YBl1f3RgmfhWv-3uHZ9FCTnPL0xkbw1apie3uMQZXAjMhCbIE0kXgQ08xbQ7shuB~5QfIMcTp6QaWaM3MQRSpDB6NQ9wn75qRs3Rq9W61qaKzU3diBwKKxUBxJm31f2K33j8EW5fiZ5DDxDh8WwtIjC4dgTDRKQsWgAJpqEFyPA9GeNGf1l5Ym3sxUR5Qcw3e1ms7x~Gz5qe-G9SGPyvSjCHkM83PK253Tht-Q__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
- Add Instruction Text that tells users how to use the component.
- Include an Aria Label for screen readers, as needed, and fill in iFrame Title for screen readers.
Interaction Label section
In the Interaction Label section, you can enable an Interaction Label.
The Interaction Label allows you to add a widget before or after the iFrame component. This widget can display an icon and label prior to the iFrame component completion, which changes to a different icon and label once the iFrame component is completed.
Behavior section
![](https://cdn.exceedlms.com/uploads/resource_images/targets/5300521/page_regular/evolve-iframe-behavior-settings-3-040524.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzUzMDA1MjEvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtYmVoYXZpb3Itc2V0dGluZ3MtMy0wNDA1MjQucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzI1NzYxMDIwfX19XX0_&Signature=MG~2kPOvToHztT5zQR9xhrlXXLQiSNqg4fwdMfaCkOVJvdaTpXN085nIuYxTR8p0AasZpXFHW0PIv04NacPcdw1rOeGEqdrJ~MT2ZKcWyVnMnMx2BgP2w1xQhSdD6uyXRo3NJIKymDn5bnNA26VR-AWe6hRW6bwfPr4~~e1xWFkW59UUjaKqn53ptZsc1eDk6hiaRVJspa8pnDih39mMoF-dE9ZKtb2PHy-N2ipSfyL~LHNa~FAk-v3Z4LYoIejF9Dvj384k6nWEjSABP6sr8K0n3UAyd4QkQCSqchZqjfufTwrmJru3Z9LrukKi2as8M3HM5BZZYCChvCj-rR5iZA__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
In the Behavior section, set the desired completion status. If completion status is set on iFrame Content Event, some code must be added to your content to allow it to communicate with Evolve. See Advanced section below.
Set the height of the iFrame component using the iFrame Desktop Height and iFrame Mobile Height fields. Or, you can enable Automatically Calculate iFrame Height to have Evolve calculate the iFrame component’s height based on the height of the iFrame content.
![](https://cdn.exceedlms.com/uploads/resource_images/targets/4367837/page_regular/evolve-iframe-behavior-settings-2-062223.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzQzNjc4MzcvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtYmVoYXZpb3Itc2V0dGluZ3MtMi0wNjIyMjMucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzI1NzYxMDIwfX19XX0_&Signature=Itw8KKTTUNwBPnZkQNR8YfkNf1153-xdDKG1cBBJfqshNHa7-MmLksIRP1gNsjhxLU-q1kkzI1qsuy~0uOt6lDXQmI2p2pMUPtkk7yVkr8RE15xJUJr6IutN3EgPllUU-efMLlY8jBuFOU0OsdT~x2ikdZflyzF1CdG1bFOd6GwoE5TKaL5ghI-VRxKGJSDUw~w5kzwYyNCfl3ifDu3OaHkCCwp8CoTpiB8~ZCEagl8QueSz8Nfq1vMlt1jbG4WSdVFH2fc68mPblmZx6ORMxpa0XV7Un4CNvprhVg4Sq~koXFlAY~bCdDYwOrRfig3TQgUe9WwISWf2YAcFI6oN4w__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
You can also set an iFrame Height Selector should you need to specify an element within the iFrame content to use as the basis for the height calculation.
Add iFrame content
iFrame content is added in the iFrame section of the component settings. The iFrame component can either be used to display content that is external to Evolve - such as an online survey/form, or video from a streaming video service not natively supported by Evolve - or it can be used display content that is uploaded into Evolve itself.
![](https://cdn.exceedlms.com/uploads/resource_images/targets/4367845/page_regular/evolve-iframe-iframe-settings-062223.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzQzNjc4NDUvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtaWZyYW1lLXNldHRpbmdzLTA2MjIyMy5wbmciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3MjU3NjEwMjB9fX1dfQ__&Signature=QXpRhRRDZHDRFYWUlK3i9JkqUBFfBD71VE7tqj~gvxNS7L43hxQuBV1aGnoL6AJxqoeCJ8Qmn6XXFhaHJipSKloehP5X2EkAzUAmDSGRadd~jF~tDbdxgkE2Q3XHWF-ADYxJqxsfyGzjG5t67UGWoISOPGJwIF2Jsx~9v85qe31Hb3g~kGgLG4srTKtrAYfkFG2gerEWFiiTTCXc1V6AWSygUZfz6FVmh0B5l7~4~0uVFKjUKEAmXjyzYozidw4L3tjezpXRFIw2F6RpSpXYmysxkzwvkK4SuXTb~TBmupGqwhYTvMmssTjrDUYM8f3aBEh1uGAESGYTEfdPjEYGxg__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
iFrame Content Source
To display content external to Evolve in the iFrame component, enter the iFrame content source. This will either be in the form of a URL or an iFrame ‘embed code’.
Enable Use iFrame source attributes if using an iFrame embed code which contains additional settings - such as width, height, allowfullscreen - and you would like these settings to take precedence over the Evolve settings.
Embedded Content
![](https://cdn.exceedlms.com/uploads/resource_images/targets/4367849/page_regular/evolve-iframe-iframe-settings-2-062223.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzQzNjc4NDkvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtaWZyYW1lLXNldHRpbmdzLTItMDYyMjIzLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyNTc2MTAyMH19fV19&Signature=cMVhpOsW9eKITuuAy8QiRE5729rv6EuKitYlXv6i~YPkk4Ir7PsStO4iTzkkqqGR~tm493YEfOb2~Hsa2mRttZsI3jidArcjs4bJ5pXJEBRnw9EAYiekhgOTaj3Z7F7WvAGh-kCjaN-HUWs9F9Dsg3x3efPYIDDyg6RiC1Loj1M~sODOh7DWodI6vAPw7iMKYkN5BaI4JdUrp2WP~JDrBinN9IQQMDyjS9ziubRcXxy5WgoUBy9jObhjaDDjhJVPNKfnEWtn82GmR8VHMMxoT9N8ZiP0M43Q85FtWd9EpaI3Qd36Av8rAcs8x3H5xozAxdOD9bLzkA2LjvEqNZK4gA__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
When toggling on Use Embedded Content, you can then select the Embed Content to be displayed in the iFrame component. Use these settings if your iFrame content is NOT externally hosted.
After selecting the + icon in the square under Embed Content, select Create New Asset (the + icon) to the top right of the Select embed popup. The new asset must be a .zip file and must contain a file called index.html at the top level of the .zip file.
Advanced
For embedded content, you can set up the iFrame component so that it can be completed by a specific trigger in the iFrame content, such as a button click (see Behavior section above). To do this, you will require two snippets of code:
<script>
window.addEventListener('message', e => window.evolve = e.ports[0]);
</script>
This first snippet needs to be added to the < head > section of the iFrame content.
evolve?.postMessage('completed')
This second snippet needs to be included where the iFrame content will trigger completion.
Here is an example of how this works:
![](https://cdn.exceedlms.com/uploads/resource_images/targets/5300831/page_regular/evolve-iframe-advanced-3-040524.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzUzMDA4MzEvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtYWR2YW5jZWQtMy0wNDA1MjQucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzI1NzYxMDIwfX19XX0_&Signature=Gasn5QWjBF88Hedu22-Q~yZzdg5p1r6P9DWvF65-Ecro8QbVohes11-3fSHFJdPAKKFTVTGEC8-OhIXAEft5AB-63Teqvsuz13DAKj~XLuVSjvu~wx6wYFZrpgQPyjUzM-VwI6ayA-SrP5JRgE9Xq-FEgtTcQT6WUYN7QeVJIiWcKlZ-qXgWoc-~RYX7J48BwQ1EXYaYJdeR8Y3Gz4sVbMpbGA-i2ozy7xdWGIjVh53ztdqyBeSIt7zQB6sBG1qMoN63-KhqTYaft-BMXTBBZHTuR8ycb1N9FUJR1dEcfmka~PpR0klzsn~LWaoKo74toGWvRZPtvxgVymETdK6n9A__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
![](https://cdn.exceedlms.com/uploads/resource_images/targets/5300839/page_regular/evolve-iframe-advanced-4-040524.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzUzMDA4MzkvcGFnZV9yZWd1bGFyL2V2b2x2ZS1pZnJhbWUtYWR2YW5jZWQtNC0wNDA1MjQucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzI1NzYxMDIwfX19XX0_&Signature=ajBud~mPCcqZg4R~TSqRrwL5zDROW-dbzanNIf0lr7EinzVW2yTmJrY2tlE61vaCiAis6mHYknN9fiIJlzWjh-tfRuu3aVPW9giFOFDHptooKUfsaHgWvu~uyNTbl3gJLRWib1u22NSsCI4HLZS2TfcTaWgtfveydp-pVM1lJNTsUXo6Rg-rRP03Fmgg2Xx0NnUyUQThDIsJErruOvcjrdOaNdELalL5x7CcPhomHRUPN1psF4UG27O~2zw~TSmP7Cr2axrWFx-sxFbqVRI3mGp32T0XJHNWx28SO0X-2YtikYjxXD~m2USgTUY43aTxG9CuveIcIkNnPk7FChr-IA__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
Here is the example file if you'd like to test how the coded trigger works.
![](https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png)
example-trigger-iframe.zip
![](https://exceed-primary-production-main.s3.amazonaws.com/uploads/organizations/branding_logos/2617/full/Employees_logo.png)
![](https://cdn.exceedlms.com/uploads/resource_images/targets/2258517/page_regular/hr2-281-29.jpeg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uZXhjZWVkbG1zLmNvbS91cGxvYWRzL3Jlc291cmNlX2ltYWdlcy90YXJnZXRzLzIyNTg1MTcvcGFnZV9yZWd1bGFyL2hyMi0yODEtMjkuanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyNTc2MTAyMH19fV19&Signature=b5Q3GVhXkZFUTQFjPBsCg-QlvnEd2Jnt-vB0Hn61iVbJgD-PZmpgH9IwfNLT1ZQ-rxmUJbYjc2uE075HS6ymoIAlqS4EcT7lAsoqM60qu9Dh2C2OpJYI7MPS0SPDGAq29xd2NR5c42L3MgBKzZwsPaiNSsaXUSfFM-dU4I0qbP9abGiTQgwCcbJOuEFAshFy3GaASFK25jrMo0uDZJx4HqTV5aOJZMvyQ7pdOjtFT4~kNvFZBGgQ9-D4xO7AiFbLYmHH0ZxqBLVBfblwWtc84IePGo0aMlkYlY5AZQXgcGT3JOWtMKPilA~PB4CFEfX6TgSdgwrUPZOhppQjh458Ug__&Key-Pair-Id=APKAJINUZDMKZJI5I6DA)
Did this article help?
Let us know by leaving a star rating or review at the top of this article.