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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:39:53+00:00 2026-05-18T04:39:53+00:00

I started with an article from Scott Hanselman about how to stream video to

  • 0

I started with an article from Scott Hanselman about how to stream video to an iPhone using the IIS 7 Smooth Streaming and the Transform Manager. Fantastic article and everything works 100% as advertised.

http://www.hanselman.com/blog/CommentView.aspx?guid=86968CD5-FEEB-47F2-B02E-1EB4FA556379

I am able to use the browser on an iPad and go to my companies website and see a video play in the browser, embedded into an HTML page using the following HTML.

<html>
    <head>
        <title>iPhone page</title>
    </head>
    <body>
        <h1>Encoded stream</h1>
        <video width="640"
               height="480"
               src="http://name-of-video-here.ism/manifest(format=m3u8-aapl).m3u8"
               autoplay="true"
               controls="true" >Live</video>
     </body>
</html> 

The problem I am having is when I try to take the exact same URL “http://name-of-video-here.ism/manifest(format=m3u8-aapl).m3u8” and try to play it using the “CustomMPMovie” or “MPMoviePlayerController” from within a custom application running on the same iPad it doesn’t work.

Objective-C that plays the video

    NSURL *theURL = [NSURL URLWithString:[item url]];

    if ([[[UIDevice currentDevice] systemVersion] doubleValue] >= 3.2) 
    {
        NSLog(@"> 3.2");
        CustomMPMovie *mp = [[CustomMPMovie alloc] initWithContentURL:theURL];

        if (mp)
        {
            mp.moviePlayer.movieSourceType = MPMovieSourceTypeFile;
            [self.navigationController presentMoviePlayerViewControllerAnimated:mp];
            [mp shouldAutorotateToInterfaceOrientation:UIInterfaceOrientationLandscapeRight];
            [mp.moviePlayer play];
            [mp release];
        }
    }
    else if ([[[UIDevice currentDevice] systemVersion] doubleValue] < 3.2) 
    {
        NSLog(@"< 3.2");

        MPMoviePlayerController* theMovie = [[MPMoviePlayerController alloc] initWithContentURL: theURL];

        theMovie.scalingMode = MPMovieScalingModeAspectFill;

        // Register for the playback finished notification
        [[NSNotificationCenter defaultCenter]
         addObserver: self
         selector: @selector(myMovieFinishedCallback:)
         name: MPMoviePlayerPlaybackDidFinishNotification
         object: theMovie];

        // Movie playback is asynchronous, so this method returns immediately.
        [theMovie play];
    }

Can anyone offer an explanation or a possible solution?

  • 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-18T04:39:54+00:00Added an answer on May 18, 2026 at 4:39 am

    As it turns out this is 100% dump developer error. The movie source type needed to get switched to “MPMovieSourceTypeStreaming” and after we did that everything started working again. The IIS Smooth Streaming and Transform Manager is working in production and we are very happy with the output. The built in Silverlight support is awesome too.

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

Sidebar

Related Questions

im just getting started on maven, and im currently following the article from http://www.sonatype.com/books/mvnex-book/reference/simple-project-sect-create-simple.html
I found a great article on getting started using the Twitter API for authenticating
The wikipedia article about Law of Demeter says: The law can be stated simply
I started using subversion for one of my projects and it would be absolutely
I'm writing a WPF application using the MVVM pattern, based on the following article:
I'm from a C++ background and just started Java today. Say I have a
I am attempting to pull some information from my tnsnames file using regex. I
I'm new to web development and have started using JSONP and Google's Feed API
I have a question about remote threads.I've read Mike Stall's article present here: <
This MSDN article stated that: processors are free to reorder this code internal static

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.