@aws-amplify/analytics
Version:
Analytics category of aws-amplify
21 lines (20 loc) • 593 B
TypeScript
import { RequestParams } from './DataType';
export declare class MediaAutoTrack {
private _mediaElement;
private _provider;
private _params;
private _started;
private _iframePlayer;
private eventActionMapping;
private _youTubeIframeLoader;
constructor(params: RequestParams, provider: any);
private _initYoutubeFrame;
private _iframeMediaTracker;
private _onPlayerStateChange;
private _html5MediaTracker;
private playEventAction;
private pauseEventAction;
private endedEventAction;
private recordEvent;
private _financial;
}