Jump to content

How do I know the time a video is viewed in a web environment

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Mantrax

Mantrax

    Newbie

  • Members
  • Pip
  • 1 posts
I have to create a web application that allows perform stream videos.

I need to add a media player to a webpage and know the time that a video was viewed. ie basically have to know how long a user saw a movie, for instance, and then examine this value.

My question is how best to do this.

How can I have access to viewing time of a video running in a browser?

If anyone able to help me thank you so much.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
If you are playing the video through flash, for example, then you could have flash send a message back to the server indicating the playing time before it was stopped.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
There may very well be something that the control sends back to the client about viewing time, you'd have to check the documentation of the embeddable container, or develop your own that can support this.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users