About
Media sometimes needs an update after it's been shared. The Replacemedia module lets media owners upload a new version of a video or document entry, such as a PDF, DOC, or DOCX file. The entry keeps its metadata, URL, and analytics.
Use this module to turn media replacement on or off and to define how replacement works, such as URL upload and URL validation.
- The new file must be the same media type as the original. For example, you can't replace an image with a video.
- Time-based metadata, such as captions or cues, doesn't change and might not match the new media. After you replace media, review and update this metadata as needed.
Configure
- Go to your Configuration Management console and select the Replacemedia module in the left panel. You can also navigate to it directly using a link: https://{your_site_URL}/admin/config/tab/replacemedia.
- Configure the following fields:
- Click Save.
The Replacemedia page displays.

enabled - Set to Yes to enable the module.
replaceMediaFromUrl - Turn on to allow replacing media using a URL upload option.
validateUrl - Turn on to validate the URL before uploading when using the URL option.