Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wy4tt34rp/ko-vimeo-enhancements/archive/refs/heads/main.zipAdds autoplay, hidden controls, automatic closing, and close/reset behavior to Vimeo videos in Divi overlays. No admin page or configuration screen is required.
Description
KO – Vimeo Enhancements connects a Divi opener to a Vimeo video inside a Divi overlay. When the opener is clicked, the Vimeo video starts automatically with its player controls hidden. When playback finishes, the plugin activates the existing Divi close element automatically. When the close element is clicked manually, playback pauses and returns to the beginning.
Add these class names in Divi under Advanced > CSS ID & Classes > CSS Class:
ko-vimeo-trigger— add to the Rive module, Button module, or other element that opens the overlay.ko-vimeo-overlay— add to the full-screen Section containing the Divi Video module.ko-vimeo-close— add to the Icon module or other element that closes the overlay.
Enter class names without the leading period. Keep the Divi Interactions that show the overlay from the trigger and hide the overlay from the close element.
For a page with multiple Vimeo overlays, give each overlay a unique CSS ID and add a data-ko-vimeo-target attribute to its trigger. The attribute value should be a CSS selector such as #reel-video-overlay.
Installation
- Upload the
ko-vimeo-enhancementsfolder to/wp-content/plugins/, or upload the plugin ZIP through Plugins > Add New > Upload Plugin. - Activate KO – Vimeo Enhancements.
- Add the three required CSS classes to the appropriate Divi elements.
- Use a normal Vimeo URL in the Divi Video module; no autoplay query parameter is needed.
Changelog
1.0.7
- Hides Vimeo iframe hover titles while preserving their accessible names with aria-label.
1.0.6
- Raises the Vimeo overlay Canvas above Theme Builder headers so the video and close control remain on top.
1.0.5
- Adds autoplay support for Divi Vimeo iframes that are lazy-loaded from a data-src attribute.
1.0.4
- Waits for Vimeo's ready handshake before subscribing to the playback-ended event.
- Adds compatibility for both ended and legacy finish completion messages.
1.0.3
- Closes the Divi Canvas overlay automatically when Vimeo playback finishes.
- Reuses the existing ko-vimeo-close element and Divi Hide Element interaction.
1.0.2
- Runs the overlay click handler in the capture phase so it fires before Divi Interactions stop event propagation.
1.0.1
- Removed the Vimeo Player API dependency for improved compatibility with Divi Canvases.
- Starts and resets playback by updating the Vimeo iframe directly.
1.0.0
- Initial release.
- Starts Vimeo playback when a Divi overlay trigger is clicked.
- Hides Vimeo player controls and branding overlays.
- Pauses and resets the video when the overlay is closed.