media_qualtrics
This module allows the creation of Media assets from Qualtrics. This allows you to embed surveys and experiences from Qualtrics within Drupal anywhere Media allows, including fields and WYSIWYG.
The Qualtrics embed will change the height of the iframe depending on each form step height (for multi-step forms) or adapt to the content height on window load, seemingly integrating the experience as it was part of the page where it's embed without scrollbars.
Features
This module depends on the Media Remote module, it provides a new remote media type from fields display options.
This module attaches a query string parameter to the Qualtrics experience URL to use the HTML messages API. It receives an asynchronous message with the iframe content height and adjusts the iframe size to match, allowing it to grow or shrink based on the embedded content height.
Requirements
- Works with Drupal 9 and above
- Media Remote
Installation
- Media Qualtrics can be installed via the standard Drupal installation process.
- Create a new media type, for "Media Source" choose "Remote Media URL".
- Under "Manage display", select "Remote Media - Qualtrics" for the "Remote Media URL" field.
- Optionally, change the display options and API version used from the field display options.