Knowing when a YouTube video starts playing from within a UIWebView
问题 I have made a class that plays YouTube videos (thanks to the help from the kind people of this site). Now I am wondering how I find out when a YouTube video starts playing. I want to know this so I can show a "Please Wait, Loading..." indicator in-between the video being told to play and it actually playing. I start the video playing using stringByEvaluatingJavaScriptFromString: , and of course there is a slight delay between me firing off the javascript command to get the video playing and