A Replace file functionality is available for Image files, which is really convenient when these images are already inserted in content created and published in a website.
But this functionality doesn't show up when editing a Video file.
Is there a way to enable this functionality?

Comments

dave reid’s picture

Category: Feature request » Support request
Status: Active » Postponed (maintainer needs more info)

The file has to be writeable in order to replace it. What kind of video file are you talking about? A YouTube or other remote video? If so, no those files cannot be replaced, because you cannot just upload a new version from within Drupal.

jlafu’s picture

Hi @Dave Reid,

Yes, I'm trying to replace a Vimeo file. We have added some extra fields to the Video type to store video information, and we then use it along our website. Our client sometimes need to change the referenced Vimeo video in a File entity, and we'd like to just replace the video URL so we don't have to create the new File entity, enter the extra field values again and then manually replace the video where it is used.
Is there a possibility to enable that?

Thank you very much!

dave reid’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Sorry, at this time it's not possible to swap out remote video files. The replace file functionality is only for uploaded files that can be re-uploaded locally. Maybe #1841622: Abillity to merge (possibly) duplicated files could provide a possible solution.