bitmovin-player-ui
    Preparing search index...

    Interface TimelineMarkersApi

    API for managing markers displayed on the playback timeline.

    interface TimelineMarkersApi {
        add(timelineMarker: TimelineMarker): void;
        list(): TimelineMarker[];
        remove(timelineMarker: TimelineMarker): boolean;
    }
    Index

    Methods

    Methods

    • Adds a marker to the timeline.

      Note:

      • Does not check for duplicates/overlaps at the time.
      • Dynamically added timeline markers will be cleared when a new source is loaded into the Player.

      Parameters

      Returns void

    • Removes a marker from the timeline by reference and returns true if the marker has been part of the timeline and successfully removed, or false if the marker could not be found and thus not removed.

      Parameters

      Returns boolean