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

  • Home
  • SEARCH
  • 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 5844905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:21:34+00:00 2026-05-22T12:21:34+00:00

I am playing a video by default in full screen according to this: Play

  • 0

I am playing a video by default in full screen according to this:

Play video by default in full screen

But using this code minimize control is missing.

My exact requirment is that:

As the view will load a video will play by default in full screen and when it will be minimize it should be play in a certain frame.
And when it will end I want to write some code, but What condition will be apply to check to whether the video is finish/end?

Plz help me out.

Thanks.

  • 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-22T12:21:34+00:00Added an answer on May 22, 2026 at 12:21 pm

    You need to register for the notification as below

    [[NSNotificationCenter defaultCenter] addObserver:self 
                                             selector:@selector(movieLoaded:) 
                                                 name:MPMoviePlayerLoadStateDidChangeNotification 
                                               object:moviePlayer];
    
    
    [[NSNotificationCenter defaultCenter] addObserver:self 
                                             selector:@selector(moviePlayBackDidFinish:) 
                                                 name:MPMoviePlayerPlaybackDidFinishNotification 
                                               object:moviePlayer];
    

    and then implement the messages as follows:

    - (void)movieLoaded:(NSNotification*)notification 
    - (void)moviePlayBackDidFinish:(NSNotification*)notification 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an Android App where I am playing video using VideoView,but the
Take a look at this code . It actually loads the video perfectly, but
I have written this piece of objective-c code for playing a video after touching
I want to play a video in my iPhone app. I used this code:
this is the function through which i am playing my video.but it only plays
I have been playing with this for a while, but the closest I have
This is the crash I am gettin gwhile playing a video on 3.1.3. It
I created an flv video player using Flash Builder 4. This BasicVideoPlayer project is
I'm playing video on Android using media player via RTSP. The player takes about
I have a swf playing video from a rackspace webserver. When I play the

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.