Enable SharePoint 2010 to Render SWF (Flash Files)

Embedding a SWF file in a SharePoint page involves the following two steps:

  1. Enable browser File Handling access so that you can view flash content in SharePoint 2010
  2. Embedding SWF file to SharePoint 2010 Page

Go to "Central Administration | Application Management | Manage Web Application":

SWFShr1.jpg


Select the web application for which you want to enable Flash:

SWFShr2.jpg

Now click on General Settings and in the drop down list click General Settings:

SWFShr3.jpg

Scroll down and select the permissive radio button and click OK:

SWFShr4.jpg

Upload your flash contents to a folder in SharePoint including HTML, swf and all the supporting files. Get the URL of your index.html file and insert the page viewer web part in SharePoint and in the Link section add your URL.

SWFShr5.jpg

INSERT A FLASH FILE INTO SHAREPOINT 2010 PAGES

SWFShr6.jpg

View your page and you should see your embedded SWF file in a SharePoint 2010 Page.

Even though we enabled browser file handling to be permissive, some document libraries do not render Flash files correctly. In this case we need to enable permissive settings for that particular library. This can be done by the following Power shell:

$web = Get-SPWeb "http://your web application url contain the library
#Get Document Library
$docLib = $web.lists["Your Document Library Title"]
#View all properties/methods of the Document Library and you'll see that BrowserFileHandling is a property
$docLib | Get-Member
#See the current Browser File Handling setting for the Document Library
$docLib.BrowserFileHandling
#If you need to change it from Strict to Permissive
$docLib.BrowserFileHandling = "Permissive"
$docLib.Update() 

Up Next
    Ebook Download
    View all
    Learn
    View all