Playing Flash Shockwave video in SharePoint 2010
I recently had a request from a client to help out with a problem they were having getting a Flash video to play in the browser.
The issue here is the AllowedInlineDownloadedMimeTypes list, this is predefined list of files that SharePoint considers safe for displaying in the browser.
If your file extension is not in this list then SharePoint 2010 will not open it in the browser.
You can change the file handling from strict to permissive on your Web App to address this issue, but as we had already updated the list for PDF’s we decided to do the same for Flash Shockwave files.
https://spandps.com/2012/07/06/hardware-load-balancing-aams-and-a-few-other-bits-of-fun/
Three simple lines of PowerShell does the trick
$webApp = Get-SPWebApplication("http://webappurl")
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/x-shockwave-flash")
$webApp.Update()
If you then call the AllowedInlineDownloadedMimeTypes list again without .Add parameter, you will see the extra file type appended to the bottom of the list.
Once that was done we could use the content link property of a editor web part to call a simple piece of HTML saved as text to wrapper our video.
The final step was a add a shockwave icon to SharePoint and update the DOCICON file.
Job Done.
Happy SharePointing
Follow @NeilKing41-
September 17, 2012 at 12:23SharePoint Daily » Blog Archive » SharePoint Governance Needed; Office 2013 Integrates with iOS, Android; Xbox is Microsoft’s Future
-
September 17, 2012 at 12:29SharePoint Governance Needed; Office 2013 Integrates with iOS, Android; Xbox is Microsoft's Future - SharePoint Daily - Bamboo Nation