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/dbrabyn/wp-video-embed-cleanup/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.
Scan and fix Vimeo and YouTube iframe embeds. Converts them to clean URLs for better performance via WordPress oEmbed.
Many users copy embed codes directly from Vimeo or YouTube, which includes iframe markup, responsive wrapper divs, and scripts that hurt page performance. This plugin helps you find and fix these embeds across your entire site.
What it does:
Scans all published posts, pages, and custom post types for video iframe embeds
Shows detected embed patterns with examples
Side-by-side diff view: see original vs cleaned content before applying changes
Converts iframe embeds to clean URLs (e.g., https://vimeo.com/123456789)
WordPress then handles these URLs via oEmbed for optimized playback
Removes unnecessary Vimeo player.js script tags
Cleans up responsive wrapper divs (56.25% padding hack)
Preserves Vimeo unlisted video hash parameters (?h=abc123)
Supported platforms:
Vimeo (player.vimeo.com/video/...) including unlisted videos
YouTube (youtube.com/embed/...)
YouTube Privacy Enhanced (youtube-nocookie.com/embed/...)
How to use:
1. Install and activate the plugin
2. Go to Tools → WP Video Embed Cleanup
3. Review the scan results and detected patterns
4. Cl