Class

MultiVideoSentimentManager

MultiVideoSentimentManager()

Manager for multiple video sentiment analysis

Constructor

# new MultiVideoSentimentManager()

Classes

MultiVideoSentimentManager

Methods

# async addVideo(videoId, videoElement)

Add a video for analysis

Parameters:
Name Type Description
videoId string

Unique identifier

videoElement HTMLVideoElement

Video element to analyze

# destroy()

Stop all analysis and clean up

# getDiagnostics() → {Object}

Get diagnostics for all analyzers

Diagnostics for each video

Object

# getPerformanceStats() → {Object}

Get performance stats from all analyzers

Aggregated performance statistics

Object

# async initialize()

Initialize the manager (lazy loads face-api.js)

# removeVideo(videoId)

Remove a video from analysis

Parameters:
Name Type Description
videoId string

Video identifier

# setDebugMode(enabled)

Enable or disable debug mode for all analyzers

Parameters:
Name Type Description
enabled boolean

Whether to enable debug logging