UNPKG

@aller/blink

Version:

A library for tracking user behaviour.

27 lines (26 loc) 720 B
import { BlinkEvent } from '../types'; import { Page } from '../selectors/get-page-state'; export interface PrepareVideoLoadEventInput { page: Page; videoId: string; duration: number; position: number; title: string; width: number; height: number; viewable: boolean; muted: boolean; quality: string; withAdBlock: boolean; canBeSticky: boolean; streamingMode?: string; channelId?: string; time?: Date; } /** * Prepares video load data selecting the right * fields to send to the server * Video load event fired when video viewbox is loaded * on the page */ export default function prepareVideoLoadForSending(input: PrepareVideoLoadEventInput): BlinkEvent;