@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Function MockVideo

    • Parameters

      • Optionaloverrides: {
            airshipItemUrl?: string;
            assetCreated?: string;
            assetErrorMessage?: string | null;
            assetState?: AssetState;
            bookmark?: number;
            canAccessAssetOffline?: boolean;
            canBeUsedForAssembly?: boolean;
            canBroadcast?: boolean;
            canCopy?: boolean;
            canDelete?: boolean;
            canDownloadAsset?: boolean;
            canEdit?: boolean;
            canEditAssets?: boolean;
            canEditMetadata?: boolean;
            canEditThumbnail?: boolean;
            canEditWatermarks?: boolean;
            canShare?: boolean;
            channelName?: string;
            channelSlug?: string;
            chapters?: ({ end?: number; start?: number; title?: string } | undefined)[];
            created?: string;
            description?: string;
            downloadStatus?: {
                canSync?: boolean;
                completed?: number;
                currentStatus?: string;
                isSynced?: boolean;
                lastModified?: number;
                total?: number | null;
                willSync?: boolean;
            };
            downloadUrl?: string;
            draftParentSlug?: string;
            drafts?: ({ slug?: string } | undefined)[];
            duration?: number;
            filename?: string;
            filesize?: string;
            fileType?: string;
            hasStoryboard?: boolean;
            hierarchy?: (
                | {
                    autoStart?: boolean;
                    id?: string;
                    launchpadId?: string;
                    name?: string;
                }
                | undefined
            )[];
            iconType?: string;
            imageHeight?: number;
            imageUrl?: string;
            imageVersionHash?: string;
            imageWidth?: number;
            interactiveDownloadUrl?: string;
            isDraft?: boolean;
            isDVR?: boolean;
            isFavorite?: boolean;
            isForensicallyWatermarked?: boolean;
            isLesson?: boolean;
            isLive?: boolean;
            isMyItem?: boolean;
            isNew?: boolean;
            isSharedMyItem?: boolean;
            isSortOrderLocked?: boolean;
            isUpdated?: boolean;
            isV2Video?: boolean;
            lastViewed?: string;
            launchpadId?: string;
            link?: string;
            media?: (
                | {
                    bitRate?: number;
                    containerType?: string;
                    contentType?: string;
                    fairPlayCertUrl?: string
                    | null;
                    frameRate?: number;
                    hdsLicenseToken?: string | null;
                    height?: number;
                    licenseUrl?: string | null;
                    mediaHash?: string;
                    mp4eKey?: string | null;
                    mpdLicenseToken?: string | null;
                    url?: string;
                    widevineCertUrl?: string | null;
                    width?: number;
                }
                | undefined
            )[];
            mediaType?: "Audio"
            | "Video";
            metadata?: { [key: string]: any };
            mirrorSourceId?: string;
            modified?: string;
            processingStates?: ({ containerType?: string; state?: string } | undefined)[];
            resourceUrl?: string;
            settings?: {
                documentControls?:
                    | {
                        hideFullscreen?: boolean;
                        hideNavigationArrows?: boolean;
                        hidePagePicker?: boolean;
                        hideZoomAndFit?: boolean;
                    }
                    | null;
                isFixedPageOrder?: boolean;
                isLesson?: boolean;
                isMirrorItem?: boolean;
                isPromoted?: boolean;
                isSearchFolder?: boolean;
                isTemplate?: boolean;
                term?: string
                | null;
            };
            skipPostActions?: boolean;
            slug?: string;
            storyboard?: | {
                frameHeight?: number;
                framesets?: (
                    | {
                        end?: number;
                        rect?: ((...) | (...))[];
                        start?: number;
                        url?: string;
                    }
                    | undefined
                )[];
                framesTotal?: number;
                framesX?: number;
                framesY?: number;
                frameUrls?: (string | undefined)[];
                frameWidth?: number;
            }
            | {
                frameHeight?: number;
                framesTotal?: number;
                framesX?: number;
                framesY?: number;
                frameUrls?: (string | undefined)[];
                frameWidth?: number;
            };
            subtitles?: (
                | {
                    jsonUrl?: string
                    | null;
                    languageCode?: string;
                    languageName?: string;
                    webVTTUrl?: string;
                }
                | undefined
            )[];
            supportsAutoDynamicStreamSwitching?: boolean;
            thumbnailFilename?: string;
            thumbnailState?: AssetState;
            thumbnailUrl?: string;
            title?: string;
            type?: "Episode";
            versionHash?: string;
            viewed?: string;
            watermark?: | {
                align?: WatermarkAlign
                | null;
                backgroundAlpha?: number | null;
                backgroundColor?: string | null;
                backgroundRGBAColor?: string | null;
                id?: string;
                signature?: string;
                size?: number | null;
                text?: string | null;
                textAlpha?: number | null;
                textColor?: string | null;
                textRGBAColor?: string | null;
                watermarkAlign?: string | null;
            }
            | null;
        }

      Returns Episode