HTML link opening a page where a redirect to a Quicktime.MOV file displays garbage characters in IE when the Target is _blank

I have a .NET page that executes a Response.Redirect in a Quicktime.mov file. When I link to this .NET page, if the link opens in the same window (i.e. No target defined in the anchor tag) everything is fine and IE renders the Quicktime movie just fine. However, if I set the target of the link to "_blank", which will open a new window, IE will display garbage characters on the screen (as if you were opening a binary). The url in both cases (with or with the target point) is correct (i.e. http: //localhost/movies/myMovie.mov ). This is really puzzling ...

Using Fiddler I can see that in both cases, when the actual movie file is served after redirection, the content type is video / fast time, which is correct.

Of course, it's okay if I link directly to the .MOV files and not the page that redirects to it, but due to business logic, I cannot do this.

+1


source to share


1 answer


Off the top of my head before redirecting, make sure the Response.ContentType is set to "video / quicktime".



+1


source







All Articles