Kind: Function
Source: atloria-monorepo/apps/web/src/components/Viewer/ChapteredVideo.tsx
Pure hotspot-visibility selector (exported for unit tests): the hotspots whose
tMs is within windowMs of the current playback position.
Signature
tsfunction activeHotspots(hotspots: ChapteredVideoHotspot[] | undefined, currentMs: number, windowMs: number): ChapteredVideoHotspot[]
Parameters
| Name | Type |
|---|---|
hotspots | `ChapteredVideoHotspot[] |
currentMs | number |
windowMs | number |
Returns: ChapteredVideoHotspot[]
Was this page helpful?