Identify files

The YouTube XML format is being replaced by DDEX (music only) and CSV templates (all industries). YouTube strongly discourages any new implementations of the YouTube XML format. This page should be used solely as reference material for existing implementations. Visit Using the YouTube DDEX feed for more information about the new format.
The features described in this article are available only to partners who use YouTube's Content Manager to manage their copyrighted content.

A <file> tag identifies and describes a physical file that is associated with an asset or video. The tag’s type attribute indicates what kind of file it is, such as a video file, audio file, image file, or caption file. The <filename> subtag specifies the name and location of the physical file.

The examples below show simple file definitions for a video and audio file:

    <file type="video">

    <file type="audio">
Was this article helpful?
How can we improve it?