homepage Welcome to WebmasterWorld Guest from 54.227.171.163
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
tracking video completions
eggman2001



 
Msg#: 4551821 posted 6:35 pm on Mar 6, 2013 (gmt 0)

Cross-posting from another forum because I didn't get any responses...

I'd like to track people who watch videos on a client site who watch through 50% of it. I know that I need to make a server call (I assume with asyncronous javascript) at that 50% point, but I'd like to confirm what I already suspect. That the way you would do this would be different depending on the player. So would the method be different depending on whether the player is flash, quicktime or html5? Would you use javascript for all of these?

 

drhowarddrfine

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4551821 posted 12:36 pm on Mar 7, 2013 (gmt 0)

It would be different for HTML5. In HTML5 you would use javascript to check for video.currentTime and video.duration. I don't know what you need for the others.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved