fileType property

String? fileType
getter/setter pair

The uploaded file's type as detected by YouTube's video processing engine.

Currently, YouTube only processes video files, but this field is present whether a video file or another type of file was uploaded. Possible string values are:

  • "video" : Known video file (e.g., an MP4 file).
  • "audio" : Audio only file (e.g., an MP3 file).
  • "image" : Image file (e.g., a JPEG image).
  • "archive" : Archive file (e.g., a ZIP archive).
  • "document" : Document or text file (e.g., MS Word document).
  • "project" : Movie project file (e.g., Microsoft Windows Movie Maker project).
  • "other" : Other non-video file type.

Implementation

core.String? fileType;