Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-28-2009, 12:43 AM   #1 (permalink)
dnite
Totally Awesome Member
 
dnite's Avatar
 
Join Date: Dec 2008
Location: Aurora, IL
Age: 30
Posts: 54
dnite is on a distinguished road
Default Handle when UIWebView Media Player is done

I can't for the life of me figure out how to determine when a video or audio file is done after clicking a link in a UIWebView..

For instance, a user clicks a link to a video in a UIWebView in my app. The default media player launches and loads up the video. The video plays and finishes (or the user hits the Done button) .. Where do I go from here? Seems like a pretty big oversight if there's absolutely no way of handling this user interaction.

In my personal example, I'd love to be able to stop refreshing an ad while a video or audio file is being played in a UIWebView from my app so that it doesn't keep refreshing in the background while no user will ever see the ads. I can stop the ads from refreshing by detecting the filetype when a link is clicked, but I have no method of restarting the timer.

Any ideas?
dnite is offline   Reply With Quote
 

» Advertisements
» Online Users: 564
16 members and 548 guests
.Snipe, Batman, Bertrand21, chiataytuday, daunmi, fugufish, GHuebner, GraffitiCircus, HemiMG, HowEver, jasonqg49, k2c, mariano_donati, Newbie123, tommiss12
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,318
Threads: 93,987
Posts: 402,404
Top Poster: BrianSlick (7,978)
Welcome to our newest member, Libera
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:36 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.