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 7417923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:47:28+00:00 2026-05-29T07:47:28+00:00

) My client asks me to read a short video as a splahscreen (as

  • 0

)

My client asks me to read a short video as a splahscreen (as it is done especially for games for example). I googled for a bit and I think the guys use a MPMoviePlayerController with StyleControl to None (correct me if I’m wrong…)
I tried with a video from my iPhone (normally in the right format so ….), but remains black. My background is red, I see it appear at the beginning, then it is hidden by my video, which remains black and never starts.
However, I set out the frame of my video (self.view is initialized at the time), I add the player to view my self.view … In short, I do not see what might messing around.
This is the code (with FullScreen controls to try to see, but I never see them either.
An idea by any chance?
Thx guys 😉

- (void)viewDidAppear:(BOOL)animated
{
    [super viewDidAppear:animated];
    MPMoviePlayerController * mMoviePlayer;
    // Do any additional setup after loading the view, typically from a nib.

    NSURL* mMovieURL;
    NSBundle *bundle = [NSBundle mainBundle];
    if (bundle) 
    {
        NSString *moviePath = [bundle pathForResource:@"movie" ofType:@"mov"];
        if (moviePath)
        {
            mMovieURL = [NSURL fileURLWithPath:moviePath];
        }
    }
    NSLog(@"%@", mMovieURL);

    [[UIApplication sharedApplication] setStatusBarHidden:YES];

    mMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:mMovieURL];
    //    mMoviePlayer.scalingMode = MPMovieScalingModeAspectFill;
    mMoviePlayer.controlStyle = MPMovieControlStyleFullscreen;
    [mMoviePlayer.view setFrame: self.view.bounds];  // player's frame must match parent's
    [self.view addSubview: mMoviePlayer.view];

    [[NSNotificationCenter defaultCenter] addObserver:self 
                                             selector:@selector(moviePlayBackDidFinish:) 
                                                 name:MPMoviePlayerPlaybackDidFinishNotification 
                                               object:mMoviePlayer];
    [mMoviePlayer play];
}
  • 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-29T07:47:29+00:00Added an answer on May 29, 2026 at 7:47 am

    you may try:

    [player setFullscreen:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use the gwt Geolocation-Package ( com.google.gwt.geolocation.client.Geolocation ) to read the current Location on
In several web application projects I've been a part of, the client asks to
I want to confirm a feature, a client asks to me develop an app
Been reading a bit about the subject, and out of curiosity, online games which
the situation is this. my client (who also is a programmer) asks me to
IF the client asks me for a estimated time for completion for the whole
Consider a cache application with thousands of requests per second where the client asks
There is one thing, what I should make for client web page. All done,
I have hosted a website. But now my client asks to change it to
We have an existing API where a client asks our server for information that

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.