Replace media in Moodle


About

Sometimes your media needs an update after you've shared it. Replacing media swaps the file while the media entry keeps its metadata, entry ID, URL, and analytics.

You can replace video, audio, image, and document entries, such as PDF, DOC, and DOCX files. The new file must be the same media type as the original. For example, you can't replace an image with a video.

If the media entry is in a moderated category, the updated media moves to pending moderation. In categories without moderation, the updated media stays published.

This feature requires the Replacemedia module to be enabled.

  • You can't replace Live, Kaltura Room, Quiz, or YouTube entries.
  • Time-based metadata, such as captions or chapters, may no longer match the new file. You might need to update it manually.

Go to the Assets tab

  1. Go to your My Media.
  2. Select the three dots to the right of the media you want, and then select Edit.
  3. You can also open the edit media page from the media page. Select the three-dot menu, and then select Edit.

    The edit media page opens on the Details tab, with a left panel.

  4. In the left panel, select the Assets tab.
  5. The Assets page opens.

Replace media

Upload a new file from your computer, or import it from a URL. Changes on the Assets page apply immediately, so there's no Save button.

Upload from your computer

  1. Select Upload.
  2. Select the file you want from your computer.
  3. The upload starts immediately. After the upload, the media is processed automatically, and the new media replaces the existing asset.
  4. Open the media page and check that the media is updated.

Replace from a URL

A Google Drive file must be publicly accessible. In Google Drive, select the three dots for the file, select Share, and then select Anyone with the link.

  1. Select Replace media from URL.
  2. The Import from URL window opens.
  3. Enter a valid URL in the box. The URL can use HTTP, HTTPS, or FTP.
  4. Select Import.

Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted.

In this article
Related articles
Back to top