title: Playing M4V Protected Content with MPMoviePlayerController or AVPlayer (iOS)
body: <p>Is there a way to have the MPMoviePlayerController (or even something lower level  like AVPlayer) play protected M4V files from the iTunes Store?</p>
  
  <p>Using the official iTunes API here:
  <a href="http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html" rel="noreferrer">http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html</a></p>
  
  <p>I can get a "previewURL" for movies, TV shows and music videos. Music videos don't appear to be protected, but movies and TV shows are.</p>
  
  <p>For example, this is the preview URL for a music video from The Beatles (actually a documentary, but whatever):
  <a href="http://a809.v.phobos.apple.com/us/r1000/006/Video/72/fe/52/mzm.bxhrrlns..640x480.h264lc.u.p.m4v" rel="noreferrer">http://a809.v.phobos.apple.com/us/r1000/006/Video/72/fe/52/mzm.bxhrrlns..640x480.h264lc.u.p.m4v</a></p>
  
  <p>And this is the preview URL for an episode of The Simpsons:
  <a href="http://a911.v.phobos.apple.com/us/r1000/017/Video/ec/cc/cf/mzi.mnuqbbcl..640x480.h264lc.d2.p.m4v" rel="noreferrer">http://a911.v.phobos.apple.com/us/r1000/017/Video/ec/cc/cf/mzi.mnuqbbcl..640x480.h264lc.d2.p.m4v</a></p>
  
  <p>The music video will play just fine using an MPMoviePlayerController, but the video for the The Simpsons does not play at all. (When used with an MPMoviePlayerViewController, the view controller is displayed modally then immediately dismissed without any user interaction.)</p>
  
  <p>If you look at both of those URLs in QuickTime Pro, the only telling difference is that the second one is listed as "Protected", which would lead one to assume that the MPMoviePlayerController cannot play protected content, even if that content is coming straight from Apple. </p>
  
  <p>Under the "Supported Formats" section in the documentation, M4V isn't specifically listed but it certainly works. I can't find any documentation that references protected content. </p>
  
  <p>Was just curious if anyone knew of a way to play this content either within an application or through some other means. (Calling [UIApplication... openURL] doesn't work either, as Mobile Safari won't play the content either.) </p>
  
  <p>This is on iOS 4.x.</p>
  
  <p>Thank You.</p>