Class VideoUpload

java.lang.Object
org.opencastproject.publication.youtube.VideoUpload

public class VideoUpload extends Object
Represents a YouTube video.
See Also:
  • Video
  • Constructor Details

    • VideoUpload

      public VideoUpload(String title, String description, String privacyStatus, File videoFile, com.google.api.client.googleapis.media.MediaHttpUploaderProgressListener progressListener, String... tags)
      Parameters:
      title - may not be null.
      description - may be null.
      privacyStatus - may not be null.
      videoFile - may not be null.
      progressListener - may be null.
      tags - may be null.
  • Method Details

    • getTitle

      public String getTitle()
      The video's title. The value will not be null.
    • getDescription

      public String getDescription()
      The video's description. The value may be null.
    • getPrivacyStatus

      public String getPrivacyStatus()
      Returns:
      will not be null
      See Also:
      • VideoStatus.setPrivacyStatus(String)
    • getVideoFile

      public File getVideoFile()
      Returns:
      will not be null
      See Also:
      • Video
    • getProgressListener

      public com.google.api.client.googleapis.media.MediaHttpUploaderProgressListener getProgressListener()
      Real-time updates of upload status.
      Returns:
      may be null
    • getTags

      public String[] getTags()
      Returns:
      may be null
      See Also:
      • VideoSnippet.getTags()