@kano/kbc-video
v2.1.58
Published
Injectable video into mini apps
Downloads
104
Maintainers
Keywords
Readme
kbc-video
A draggable video, injectable in Kano boilerplate apps.
Usage
import KbcVideo from '@kano/kbc-video';
const Component = (props) => {
return <KbcVideo vidSrc="url" />
}
Tracking
By Component
| Component (location) | Function | Event / Error Name | Extra Info |
| -------------------- | --------------------------------- | ----------------------------- | -------------------------------------------------------------------------------------------------- |
| KbcVideo | startInactiveInterval
| video_user_inactive
| module: kkc-video
|
| KbcVideo | setVideoSize
| alter_video_size
| module: kkc-video
, action click
, data: { size: :videoSize
} |
| KbcVideo | videoAction
| video_action
| module: kkc-video
, action click
, data: { type: :videoAction
} |
| KbcVideo | setStage
| video_step_changed
| module: kkc-video
, action click
, data: { type: forward || backwards
, stepIndex: :number
} |
| KbcVideo | setMinimised
| video_minimise
| module: kkc-video
, action click
, data: { type: maximise
} |