Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jyhnc

macrumors newbie
Original poster
Feb 10, 2009
1
0
Hi,

I had a question about using aspx link with the MPMoviePlayerController. Currently the MPMoviePlayerController is getting the movie from a URL to the actual mp4 file. I like to move it behind an aspx so different file is served based on the condition.

When I ask the MPMoviePlayerController to use the aspx link, it complains "This movie could not be played". But its the same file, and checking the actual data stream shows no difference.

Could someone please tell me how to get MPMoviePlayerController to work with aspx link?

Thanks!
 

macbuddy45

macrumors newbie
Mar 25, 2009
2
0
I am trying to do exactly the same thing - haven't gotten anything to work yet though. the only difference between the download from a straight MP4 file URL and download through the ASPX are the HTTP headers. Mime type ir correct, but Cache-Control is private and it doesn't have an etag. I'm currently trying to see if changing those makes a difference.
 

jnic

macrumors 6502a
Oct 24, 2008
567
0
Cambridge
It may also be looking at the file extension as an indicator to the content. Maybe try a little mod_rewrite?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.