Second Life of a Hungarian SharePoint Geek

June 2, 2011

(Re-)enabling Flash content on SharePoint pages

Filed under: Fiddler, Flash, PowerShell, SP 2010 — Tags: , , , — Peter Holpar @ 22:22

Recently I was to migrate a MOSS 2007 solution to SP 2010. Everything was OK but I found that the Flash content – .swf files were stored in the SharePoint content DB – was displayed as static content, not like an animation, only the first frame was shown.

My first assumption was that there might be an issue with the Content-Type HTTP header sent by the server, but checking the traffic by Fiddler proved the header is therewith the correct value (see red marking below):


However, there were a few interesting headers there, like the X-Download-Options: noopen (see the yellow marking above).

After a quick search on the web I found this post that helped me to solve the issue:

Open PDF File in Browser from SharePoint 2010

Based on the article I run this PowerShell script on the server:

$webApp = Get-SPWebApplication http://yourserver
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/x-shockwave-flash" )

… and run an IISRESET.

Due to the change the X-Download-Options header disappeared and the Flash animations worked as designed.


1 Comment »

  1. That’s good to know, I solved this before by changing the Security mode from Strict to Permissive for the Web Application (Central Admin > Web Applications > General Settings), but that’s the brute force method.

    Comment by Michael Stum — June 3, 2011 @ 00:06

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: