Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Analytics in Video

See original GitHub issue

Issue Description

Hello, I am wondering how one can use the analytics, in specific the callbacks from the events. Specifically, the play, pause, and ended events. Is there any reccomended way to do this with your Video component. Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

tockercommented, Jan 1, 2018

Hi @ajmajma,

You can pass event handlers to the Video component as you would to any React component. For example,

let handlePlay = (e)=>{
  console.log("Play event:", e);

// ...
  <Video cloudName="demo" controls publicId="dog" width="300" crop="scale" onPlay={(e)=> handlePlay(e)}/>


let handlers = {
  onPause: (e)=> console.log("Pausing at ",,
  onSeeked: (e)=> console.log("Seeked to new time: ",
  <Video {...handlers} cloudName="demo" controls publicId="dog" width="300" crop="scale"/>

Hope this helps!

ghostcommented, Mar 17, 2021

@wilsonmsalberto please see this blog post about integrating the cloudinary video player in react:

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Guide to Video Analytics: Applications and Opportunities
The main goal of video analytics is to automatically recognize temporal and spatial events in videos. A person who moves suspiciously, traffic ...
Read more >
Video Analytics - an overview | ScienceDirect Topics
Video analytics is a technology that processes a digital video signal using a special algorithm to perform a security-related function.
Read more >
The Ultimate Guide to Video Analytics - Calipsa
Video analytics (also known as video content analysis, or VCA) are a type of technology that automatically analyses video content.
Read more >
What is On-site Video Analytics and How Does it Work?
Video analytics refers to the process of automatically extracting information from video footage. Organizations can use this information for various purposes ...
Read more >
What are video analytics? - Axis Communications
Video analytics are software applications that automatically generate descriptions of what is actually happening in the video (so-called metadata), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found