Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 459923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:49:16+00:00 2026-05-12T22:49:16+00:00

I am using the MediaPlayer framework to play a movie on the iPhone. There

  • 0

I am using the MediaPlayer framework to play a movie on the iPhone. There is a notification:-

myMovieFinishedCallback

to capture the end of play, but there doesn’t appear to be any way to distinguish between the player coming to the end of the movie, and the user pressing ‘Done’ to terminate mid-play.

Is it possible to tell the condition of the finish?

I have managed to create a log of all notifications sent by the player, and I have seen this and some other notification candidates, which I believe are triggered by clicking ‘Done’, that might be useful:-

NSConcreteNotification 0x45534d0 
    {name = AVController_TimeHasJumped; object = <AVController: 0x4525620>; 
    userInfo = {"AVController_Time" = 31.02737777777778;
    }}

Having managed to view the notification however, I’m not sure how I can use the log information to fire the right handling in my app. Can anyone clarify how, having managed to view it, I can exploit NSNotification information and fire events based on notices passing through?

Thanks in advance for any hints in this area!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T22:49:17+00:00Added an answer on May 12, 2026 at 10:49 pm

    I’m drawing the conclusion that it isn’t possible! The notification trace for both a premature finish initiated by the user and the player naturally reaching the end of the clip appear to be the same, the only clue is that you do get access to the timecode at the end of play, so if you know the duration of your movie, you can make a pretty good guess.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to play continuous stream using android mediaplayer.but am not able to
I am attempting to play a sound using a MediaPlayer object, but I cannot
Guys i able to play audio file using Mediaplayer. But i need to play
Using Mediaplayer to play the audio file. Everything works fine but the elapsed time
I am Using MediaPlayer to Play the Mp3 file but the problem is the
I am using the Media Player Framework to play an audio stream from the
In XNA I'm using MediaPlayer to play my music. I found that when playing
I am developing a simple calculator for a device, there I am using mediaplayer
At the beginning of a level in my XNA based game, I'm using MediaPlayer.Play()
Using the native Android MediaPlayer class I am able to play Shoutcast streams. Furthermore,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.