Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot get the MPMoviePlayerViewController to play my media file
    primarykey
    data
    text
    <p>Having some issues getting this MPMoviePlayerViewController to work. I have two sample URLs pointing to the same Quicktime movie. The commented out URL doesn't work; the other one works fine.</p> <p>I've monitored both via Fiddler and I can't see any issues in headers/etc.</p> <p>Basically I'm trying to figure out a way to play an Azure hosted media file with some sort of security; either via pass through WCF service. Any one have this figured out? I'm pulling my hair out. </p> <pre><code>//NSString *moviePath = [[NSString alloc] initWithString:@"http://www.nov8rix.com/Services/CPipeline.svc/Media/42"]; NSString *moviePath = [[NSString alloc] initWithString:@"http://nov8rixstorage.blob.core.windows.net/searchpad/tutorial_portrait.mov"]; NSURL *url = [NSURL URLWithString:moviePath]; [url retain]; MPMoviePlayerViewController *mp = [[MPMoviePlayerViewController alloc] initWithContentURL:url]; [self presentMoviePlayerViewControllerAnimated:mp]; [mp release]; [url release]; </code></pre> <p>Update: This is the error I'm receiving:</p> <pre><code>NSConcreteNotification 0x892e540 {name = MPMoviePlayerPlaybackDidFinishNotification; object = &lt;MPMoviePlayerController: 0x8921570&gt;; userInfo = { MPMoviePlayerPlaybackDidFinishReasonUserInfoKey = 1; error = "Error Domain=MediaPlayerErrorDomain Code=-12939 \"The server is not correctly configured.\" UserInfo=0x892ecb0 {NSLocalizedDescription=The server is not correctly configured.}"; </code></pre> <p>A brief search on the web mentions that my problem may be that my media connection doesn't support byte Range Requests. This is probably true. Is there a way to allow Range Requests with WCF?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload