Issues Viewing a Video
What Should Happen?
Viewing a video from a video’s video page, should play the video.
Possible Issues
The streaming server logs all its errors and warnings to the Event Viewer log.
To find this log, do the following:
- Open the Event Viewer application on the server running the Streaming Server website and
- Open the log Applications and Service Logs -> VideoStream.
- Check for any messages in this log to help diagnose issues.
The VideoStream module in SharePoint is configured to point to the Stream Server. The Streaming Server is separate website hosting encoded videos outside of SharePoint (See the Video Stream Install and Configuration guide).
Ensure the streaming server address of the Video Stream SharePoint Configuration is pointing to the correct address. For further details, see Video Stream SharePoint Configuration guide
To test the streaming server address:
- Open a web browser on workstation outside of the SharePoint farm.
- Copy the streaming server address and paste into the browser’s address bar and hit enter.
- A page saying “Hello from the streaming server!” should be displayed.
- Modify the url by adding /Test.aspx at the end. The test page with Video Stream and database versions should be displayed.
- Make sure the streaming server url is exactly the same as set in the NewsGator VideoStream application configuration window. For further details, see Video Stream SharePoint Configuration.
If videos are stored in a subfolder on the streaming server, the url should contain it, that is,
http://dev2k8ss2010-1:8000/videos
.The url should always have the protocol part (http/https).
If this page is not displayed then, either:
- The address is wrong
- A firewall or similar is blocking access to the website
- Streaming Server component is not installed.
The streaming server requires IIS Media Extensions 4 to be installed. See the VideoStream Install and Configuration guide for more information.
The typical symptom is the following error message in the player debug window:
Error - Failed to download manifest: d
.
If a 404 error is returned when trying to download the manifest and the log file is not created it means that the NewsGator code isn’t executed. It may happen if ASP.NET is not enabled.
To see if ASP.NET is enabled or not, do the following:
- Go to Server Manager > Roles.
- Scroll to Web Server (IIS). The role should be installed. Esure that the Web Server (IIS) role has the ASP.NET Role Service installed.
ASP.NET must use version v3.5 SP1 or v3.5.1 (for Windows 2008 R2) of the .NET framework. To check what version is installed look for the following DWORD in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\SP
– Make sure this DWORD is at least 1. If this DWORD doesn’t exist, you are not running 3.5 SP1 / 3.5.1 .
1. Ensure that the database connection string in the web.config
file of the Streaming Server is pointing to the correct database.
2. If the connection string is set to use integrated security you must also ensure the application pool account the video stream site is using has access to the database.
For further details, see Video Stream Server / Streaming Server Database Connection.
- Go to IIS > Web Site > Authentication.
- If Anonymous Authentication is set to Enabled.
- Edit settings and configure anonymous to use the Application pool identity.
- Go to the streaming folder and ensure the application pool account has rights to the folder.
Make sure that the local timezone is the same for Sql server and Video Stream server.
The Silverlight technology used by Video Stream player limits certain types of requests to prevent security vulnerabilities.
- Cross-zone URL
Videos does not play if sharepoint server and Video Stream server are in different zones.
Wrong URL Correct URL SharePoint: http://sharepoint.companydomain.com
SharePoint: http://sharepoint.companydomain.com
Video Stream: http://videos:1111
Video Stream: http://videos.companydomain.com:1111
- Cross-scheme URL
Videos does not play if sharepoint server is using https and Video Stream server uses http.
Wrong URL Correct URL SharePoint: https://sharepoint.companydomain.com
SharePoint: https://sharepoint.companydomain.com
Video Stream: http://videos.companydomain.com:1111
Video Stream: https://videos.companydomain.com:1111
For more information on url access restrictions in Silverlight, see URL Access Restrictions in Silverlight.
If you are seeing “failed to download manifest” in the Video Player’s debug logs (see Turning on Debug log in), then it is possible that IIS request filtering is blocking the request.
This issue exhibits itself as a 404 response when requesting any URL with the file extension .ism
.
The easiest way to see if this is the case is copying the manifest URL from the Video Player’s debug logs and opening this URL in a web browser. The URL looks something like this (it is different for your deployment):
To get more information about why the 404 response is happening try to open the URL using a web browser on the streaming server.
For further details, see Video Stream Server / Streaming Server Database Connection.
If you see a response exactly like the following it means request filtering is blocking the request:
VideoStream should add .ism
files to the allowed list however, if entry is not working properly, you have to use IIS Manager to fix the issue.
- Open IIS Manager on the Streaming Server
- Open the web site hosting the Streaming Server site (usually ngvideos).
- Click on Request Filtering in the IIS section on the middle pane
- a. If you are running Windows 2008 R2 and you don’t see the request filtering option this means the Request Filtering Role Service is not installed and therefore Request Filtering is not active.
- b. If you are running Windows 2008 and you do not have the Request Filter Role Service this means Request Filtering is not active.
If you are running Windows 2008 and you have the Request Filter Role Service installed but you don’t see the Request Filter option this means you need to download and install the IIS Administration Tool available from Microsoft).
- Click on the File Name Extensions tab.
- Find
.ism
in the list.- If
.ism
is not in the list, click on Allow File Name Extension in the Actions pane. - In the File name extension field type:
.ism
- Click Ok.
- If
.ism
is in the list, make sure it is set to allowed.
- If