Use the CMS Max Modal Dialog widget so focus, close controls, responsive width, and trigger behavior start from a supported component.
A video popup should use a clear trigger, responsive player, descriptive title, keyboard-operable dialog, and playback cleanup when the modal closes.
Build with the Modal Dialog widget
- 01Open the content editor and Insert Widget.
- 02Select Modal Dialog. Configure a descriptive trigger label or meaningful thumbnail.
- 03Add the video embed inside the dialog content. Use a responsive aspect-ratio wrapper and a descriptive iframe title.
- 04Set an appropriate dialog width. Keep controls reachable on small screens.
- 05Test focus and playback. Verify keyboard open/close, Escape behavior, focus return, and whether playback stops after closing.
