-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(srg-analytics): standardize seek event tracking
Standardizes `seek` event tracking according to the new specification. This avoids sending a `seek` event when the player is `paused`, thus reducing code complexity. - add an `isSeeking` property - `pause` sends `seek` event when seek bar is used - `play` resets the `isSeeking` property to `false` if it was `true` - `seeking` sends the `seek` event when the `currentTime` API is used - `timeupdate` tracks current time delayed by a tick - update unit tests Resolves #36
- Loading branch information
Showing
2 changed files
with
47 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters