oEmbed Validator
Media with references to remote OEmbed resources may encounter broken or invalid links over time.
The oEmbed Validator module helps maintain the integrity of these media items by validating their oEmbed URLs periodically (or on demand) and tracking any that fail validation.
Features
- Validate media items when they are updated.
- Queue media items for manual bulk validation.
- Maintains a table of failed oEmbed validations with error details.
- Integration with Media Entity Usage module helps indicate where invalid media is used.
- Drush Commands: Command-line tools for validation management
Configuration
Visit Configuration > Media > oEmbed Validator Settings to configure:
- Run Interval: Time between automatic queue processing during cron runs (in seconds)
- View queue statistics and validation status
Usage
Recommended Modules
We recommend Media Entity Usage module to track where invalid media is used, and Queue UI for managing queues via the admin interface.
Automatic Validation
The module automatically validates oEmbed resources when media entities are updated. Invalid items are stored in the database for review.
Manual Validation
Use Drush commands for bulk validation:
Queue all oEmbed media items for validation
drush oembed-validator:queue
Check queue status
drush oembed-validator:status
Validate a specific media item
drush oembed-validator:validate-media [media_id]
Run the queue via the queue drush command
drush qp oembed_validator_queue
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta1 | Pre-release | 10–11 | Initial beta release | Sep 28, 2026 |