Tag: intranet

Flash/JavaScript Video not working in SharePoint

Situation

We just ran into a funny issue with playing videos in SharePoint. We’re using tje JavaScript library flowplayer to play video files on our company intranet with the help of Flash, as I mentioned and demoed e.g. here and here. What we wanted to do next is to provide this functionality also on other servers (not just Asia Pacific, but globally). Besides flowplayer, we also looked at JW Player as an alternative, which uses a similar method of playing videos.

 

Issue

What now happened was that the videos were playing perfectly fine in our Asia Pacific intranet, but nowhere else. Interestingly, there were no JavaScript errors, and the library seemed to do what it should. There just wasn’t any video playing at all, we saw either a white or a black box, nothing else.

 

Solution

After lots of troubleshooting and testing we finally discovered the issue and the solution. The web application that hosts our Asia Pacific intranet had its Browser File Handling settings set to Permissive, while the other servers and web applications had it set to strict. After changing that, the video worked everywhere.
Note: This change affects not only the video files, but of course all files in your environment (PDF, Office, …). So before changing it, make sure that it doesn’t introduce any unwanted behaviour

Here are the steps to get there:
Open Central Admininistration -> Go to Manage web applications -> Select the corresponding web application and  select General Settings from the Ribbon -> select General Settings again -> Change Browser File Handling from Strict to Permissive

webappgeneralsettings

Free Third Party Tools we use on our Intranet Homepage

Following my session today at the Southeast Asia SharePoint Conference here in Singapore, I decided to write a brief summary on the different free third party tools (both JavaScript code and Web Parts) that we use on our intranet’s (SharePoint 2010, but also works on SharePoint 2007) homepage and on some other related sites (webcasts, news archives) and provide links to the respective sites.

image

SPServices  (1)
We’re using SPServices for a few things, on the homepage we grab 3 top stories from a specific list, and “feed them” to AnythingSlider (see below) as content
URL: http://spservices.codeplex.com

AnythingSlider (1)
With the content provided from a Pages Library, we simply provide 3 different articles as content to AnythingSlider, which rotates them (animated!) within a specified timeframe
URL: http://css-tricks.com/examples/AnythingSlider/

JavaScript Poll (2)
Created by Alexander Bautz, I made a few smaller modifications to make it more suitable for our environment. Setup was done within minutes.
URL: http://sharepointjavascript.wordpress.com/2010/11/23/poll-for-sharepoint/

Flowplayer (3, used in individual webcast page)
For our webcasts, we are using Flash-based videos (.flv) and play them with the help of Flowplayer. Flowplayer allows you to easily play a Flash-video on your page, and if wanted you can do a lot of customisations (preview image, controls, autostart, .).
URL: http://www.flowplayer.org

MiniCalendar Web Part  (4)
This Web Part is available on CodePlex for both SharePoint 2007 and 2010. We had to make some smaller changes to the design (only show the days within a month, colours), so I had to update the source code a bit and recompile it.
URL: http://minicalendarwebpart.codeplex.com/

Paging Content Query Web Part (used in news archive pages)
One requirement that we had was to show paging numbers in our news archive, so that you can navigate backward and forward within the current news archive page. OOTB this is not available, but with Waldek’s web part it’s extremely easy to set up and integrate.
URL: http://blog.mastykarz.nl/sharepoint-2010-content-query-web-part-paging/
URL: http://sharepointyankee.com/2011/07/11/imtech-content-query-web-part-for-sharepoint-2010/ (I used this article by Geoff Varosky to set up our implementation, helped a lot).

My slides–Creating an Employee Engaging Intranet Homepage

Here are my slides from my session today at the Southeast Asia SharePoint Conference: