Video Popup Autoplay
Renders an oEmbed video (YouTube) inside a popup using the efr_render_component('media') helper. Defaults: inside close button, no padding, 1200px max width.
efr_render_component('media', ['popup' => 'video-popup-simple'])
Accessible dialog system for video, images, forms, and custom content. Explore 10 live configurations — each one a different way to trigger and style a popup.
Renders an oEmbed video (YouTube) inside a popup using the efr_render_component('media') helper. Defaults: inside close button, no padding, 1200px max width.
efr_render_component('media', ['popup' => 'video-popup-simple'])
Same oEmbed video with custom options — outside close button, 800px max width, and no padding.
efr_render_component('media', ['popup' => ['id' => '...', 'options' => [...]]])
Lightbox-style image popup via media_type => 'image'. Close button positioned inside for a cleaner overlay.
efr_render_component('media', ['popup' => ['id' => 'image-popup', ...]])
Complete contact form in a narrow 480px dialog — ideal for focus-trapped form interactions.
efr_start_popup('contact-form-popup', [options])
Three-column image grid with no padding for an edge-to-edge gallery at 900px wide.
efr_start_popup('gallery-popup', [options])
Compact 400px capture dialog with centred layout and outside close button.
efr_start_popup('newsletter-popup', [options])
Scrollable popup with min_height: 500px — structured sections with accept/decline CTAs.
efr_start_popup('large-content-popup', [options])
Compact notice with close_button => false. Dismiss via overlay click or Esc.
efr_start_popup('minimal-popup', [options])
Immersive 1200px full-bleed image with inside close button overlaying the media.
efr_start_popup('fullwidth-popup', [options])
Viewport-covering takeover with fullscreen => true. Ignores max_width entirely.
efr_start_popup('fullscreen-popup', ['fullscreen' => true])