Replacing videos using FTP
- 29 Jan 2024
- Drucken
Replacing videos using FTP
- Aktualisiert am 29 Jan 2024
- Drucken
The content is currently unavailable in German. You are viewing the default English version.
Artikel-Zusammenfassung
Fanden Sie diese Zusammenfassung hilfreich?
Vielen Dank für Ihr Feedback
Replacing Videos using FTP
In addition to the UI, you can also use FTP to replace video files in your account using FTP. This is particularly useful for very large files.
You will first need to configure your account (see the FTP Upload section). In the XML file, specify the file name of the new video and the videoID of the video that you want to replace.
You can use the Workspace folder to upload the new video file with the corresponding XML file. First upload the video file, and then the XML file. The XML file triggers the upload.
To ensure your replacement is successful, you must format your XML file similarly to the one below:
<?xml version="1.0" encoding="UTF-8" ?>
<replace xmlns="http://schemas.video-cdn.net/vmpro/public/v1/ingest/ftp/replace.xsd">
<source>
<file>new_video.mp4</file>
</source>
<videoId>EaxGum-r_cMRsggTC5eM7i6qU</videoId>
</replace>
Uploaded XML files are checked against this internal validation schema:
<?xml version="1.0" encoding="UTF-8" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://schemas.video-cdn.net/vmpro/public/v1/ingest/ftp/replace.xsd"
elementFormDefault="qualified">
<element name="replace">
<complexType>
<all>
<element name="source" minOccurs="1" maxOccurs="1">
<complexType>
<all minOccurs="1" maxOccurs="1">
<element name="file" minOccurs="1" maxOccurs="1">
<simpleType>
<restriction base="string">
<minLength value="1"/>
<pattern value="[^/\\]+"/>
</restriction>
</simpleType>
</element>
</all>
</complexType>
</element>
<element name="videoId" type="string" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
</element>
</schema>
War dieser Artikel hilfreich?