UIWebView, YouTube, Elapsed Time, JavaScript, Google API, iOS Getting elapsed time for YouTube videos on iOS Recently I came across this problem to keep track of how much time elapsed for YouTube video while working on one of our apps. The reason being, we were looking for user engagement