Is there an event that fires when AirPlay toggles between say an AppleTV to an iPad and vice versa?
Asked
Active
Viewed 473 times
2
-
sounds very interesting, show us what you're doing. – Ruslan Jun 22 '11 at 15:16
-
Thanks but doing nothing just yet, I just want to know when a user has selected an AirPlay option (ex: AppleTV or iPad). Is there an event that I can listen for via JS? – John Percival Jun 22 '11 at 17:28
1 Answers
0
I guess I understand what you mean, you want to listen to the AirPlay "target device selection" event in your web app, e.g. when user performs selection like so:
Unfortunately, there isn't such an event even in the native objective-c MPMoviePlayerController class and neither in the client-side video control, see release notes.

Ruslan
- 9,927
- 15
- 55
- 89
-
Thanks so much for the info. I guess we can all play the wait game until something like this becomes available. – John Percival Jun 23 '11 at 15:30
-
2Finally, (after 2yrs) we can do this using the iOS7 AirPlay API. – John Percival Jun 12 '13 at 19:44