fix(PLAY-1164): track Flowplayer component feature adoption event#63
Merged
maximzavadskiy merged 2 commits intomainfrom Sep 19, 2025
Merged
fix(PLAY-1164): track Flowplayer component feature adoption event#63maximzavadskiy merged 2 commits intomainfrom
maximzavadskiy merged 2 commits intomainfrom
Conversation
Contributor
maximzavadskiy
commented
Sep 18, 2025
- add flowplayer component usage analytics
- bump flowplayer/player version
There was a problem hiding this comment.
Pull Request Overview
This PR adds analytics tracking functionality to the react-flowplayer component and updates the underlying flowplayer dependency. The main purpose is to track component usage through a new analytics system that emits events when the flowplayer component is mounted.
- Introduces a usage tracking system with configurable sample rates
- Integrates tracking into the Flowplayer component to emit "flowplayer-component-mounted" events
- Updates @flowplayer/player dependency from version 3.21.0 to 3.31.0
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/usage.ts | New module implementing analytics tracking functionality with type definitions and event emission |
| src/flowplayer.tsx | Integrates usage tracking by calling trackBehaviorUsage when component mounts |
| package.json | Updates @flowplayer/player dependency to version 3.31.0 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
37a20f0 to
6ff2cd2
Compare
6ff2cd2 to
bac6e48
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.