How do I get the time while playing youtube video?

i want to calculate time when youtube video is being played, can any one tell me how to get this,i am using this code

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    [tblResourcesDetails deselectRowAtIndexPath:indexPath animated:YES];

    ChildrenDetailsDO *childDetailsDO = [listResourcesDetails objectAtIndex:indexPath.row];
    NSLog(@"url : %@", childDetailsDO.url);
    NSLog(@"ka_url : %@", childDetailsDO.ka_url);
    LBYouTubePlayerViewController* controller = [[LBYouTubePlayerViewController alloc] initWithYouTubeURL:[NSURL URLWithString:childDetailsDO.url] quality:LBYouTubeVideoQualityLarge];
    controller.delegate = self;
    [self presentViewController:controller animated:YES completion:^{

    [[NSNotificationCenter defaultCenter] postNotificationName:kNotificationIncrementWatchedVideosCounter object:nil userInfo:nil];



Need Your Help

SQL Server 2005 and APP_DATA sql-server sql-server-2005

I was once told that instead of having to have my host register a SQL Server database file + user/password it is possible instead to put my MDB file into my website's APP_DATA and connect to it dir...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.