Page History
Warning |
---|
In order for your upload to succeed, your XML file must comply with our internal schema. Format your XML file according to the schema in the sample file below. |
To ensure your upload is successful, you must format your XML file similarly to the one below:
Scroll Ignore | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
For a video, you can import the following metadata:
Video Metadata | Description | ||
---|---|---|---|
source | Mandatory. If the source for your video file is not specified, then the XML file is invalid. Your upload will fail. | ||
title | By default, the system will use the original file name. (Optional) | ||
description | Enter a short description for you video. (Optional) | ||
keywords | You can enter multiple keywords, if desired. (Optional) | ||
customMetadata | Edit custom metadata for a video. The fields are the same as the ones displayed in your video list (date uploaded, category, etc.). (Optional) | ||
channels | Assign your video to a channel by specifying one or more channel IDs. (Optional)
| ||
groupId | Specify the Id of the user group this video should be assigned to. If no Id is assigned, the video will automatically be assigned to the default "Company" group. (Optional) | ||
securityPolicyId | Specify the Id of the security policy that should be applied to your video. (Optional) | ||
release | Specify the release status of the video via the <publish> tag. (Optional) Times are formatted according to D ISO 8601 Date and Time . There are two options:
| ||
download | You can activate the download release via the <download/> element. (Optional) | ||
delete | Specify the date when the video has to be automatically deleted. (Optional) | ||
still | Specify what file should be used as a thumbnail for the video. (Optional)
| ||
inform | Specify additional people who should receive notification emails about file ingest status. The uploader will always receive notifications by default. (Optional) Notifications will be sent for the following errors:
| ||
disableAutoDelete | Use this tag to prevent the system from automatically deleting video files and stills from the FTP server after processing. (Optional) |
When uploading your XML file, we check against our internal validation schema (shown below).
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?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/result.xsd" elementFormDefault="qualified"> <element name="result"> <complexType> <choice minOccurs="1" maxOccurs="1"> <element name="success"> <complexType> <all> <element name="videoTitle" type="string" minOccurs="1" maxOccurs="1" /> <element name="video" minOccurs="1" maxOccurs="1"> <complexType> <attribute name="id" type="string" use="required"/> </complexType> </element> <element name="channels" maxOccurs="1" minOccurs="0"> <complexType> <sequence minOccurs="0" maxOccurs="1"> <element name="id" type="long" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> </element> </all> </complexType> </element> <element name="failure"> <complexType> <all> <element name="cause" type="string" minOccurs="0" maxOccurs="1"/> </all> </complexType> </element> </choice> <attribute name="fileName" type="string"/> <attribute name="reference" type="string"/> </complexType> </element> </schema> |