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

    Teaser (header) section for the main page:

    • Loads a chosen teaser video and plays it in the background (looped).
    • When "Play" is pressed, opens a full overlay player with progress tracking (same behavior as the rest of the site).

    Stability notes:

    • We pause the teaser while the overlay is open.
    • We open the overlay only after a valid source is resolved.
    • We do NOT track teaser progress.

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    headerVideoSrc: WritableSignal<string> = ...

    Signed URL for the background teaser element (<video.bg-video>).

    playVideo: WritableSignal<boolean> = ...

    Overlay open/close state.

    previewVideo: Signal<Video | undefined> = ...

    Selected teaser video. Change the predicate if you want a different selection strategy (e.g., by ID, by flag like isFeatured, etc.).

    videoProgressService: VideoProgressService = ...
    videoQualityService: VideoQualityService = ...
    videos: Signal<Video[] | undefined> = ...

    All loaded videos (reactive).

    Methods

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void