To ensure that the poster image of a hidden video is viewable when displayed in a modal in Webflow, follow these steps:
1. Configure Video Element
- Select the video element you want the poster to be displayed for.
- In the Element Settings, upload your desired poster image. This image will serve as the thumbnail before the video plays.
2. Set Display Properties
- Initially, you might need to hide the video using display properties if it's not meant to be visible until triggered.
- Ensure that the poster image loads by default when the display is set to hidden.
3. Implement the Modal
- Use Webflow’s interaction panel to create your modal.
- Make sure that the modal is set to overlay and cover the necessary part of the screen when triggered.
4. Modify Interactions
- Create an interaction trigger that activates when clicking an element (like a button) to open the modal.
- As part of the interaction, include actions that set the video element to display when the modal opens while ensuring that the poster image remains visible.
5. Review Browser Behavior
- Remember that browsers handle hidden elements differently. The poster might not load if the video is entirely hidden.
- Test the modal across different browsers to ensure that the poster image always appears.
Summary
By ensuring that your video element's display properties and modal interactions are configured correctly in Webflow, you can make sure that the poster image is visible when the video is shown in a modal. Adjust browser compatibility as needed for consistent behavior.