videoflix-frontend - v0.0.0
    Preparing search index...

    Represents a video entity in the application.

    Stores metadata, media file paths, and category information for each uploaded or processed video.

    Used across playback, library, and user modules.

    Index

    Constructors

    • Creates a new instance of the Video class.

      Initializes all video properties with safe defaults if missing.

      Parameters

      • obj: any

        Partial video data object containing raw values.

      Returns Video

      const video = new Video({ title: 'Demo', category: 'Tutorial' });
      

    Properties

    category: string

    Category or genre of the video (e.g., "Action", "Comedy").

    converted_files: string[]

    Array of URLs or file paths to converted video formats (e.g., different resolutions).

    created_at: Date

    Date and time when the video was created or uploaded.

    description: string

    Detailed description of the video content.

    id: number

    Unique numeric identifier for the video.

    image_file: string

    URL or path to the video's thumbnail or preview image.

    title: string

    Title of the video displayed in listings and details.

    video_file: string

    URL or path to the original video file.