Join Us!

Spaces are allowed; punctuation is not allowed except for periods, hyphens, and underscores.
A valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.


Enter your Project Envision username.
Enter the password that accompanies your username.
Request new password

Modernizr v1.7 canPlayType('video/ogg; codecs="theora"') raises JavaScript exception

When you try to run ASP.NET website in written in MVC3 framework, by default Modernizr java script library is being appended to your razor files. Modernizr library is open source that helps building HTML 5 websites, by providing fallback for older browsers. When loaded Modernizr tries to detect your browser features and if your browser does not support some features provide a graceful fallback. In most cases it works like a charm, however I faced a problem when trying to develop new website in Visual Studio 2010 on Windows 7N. Each time I tried to run the solution the following error popped up in Java Script debugger in Visual Studio.

Microsoft JScript runtime error: Not implemented in modernizr-1.7.min.js at c.ogg=a.canPlayType('video/ogg; codecs="theora"')

After several runs when I had to click continue it gets very annoying, and the solution is very simple.

The problem is that Windows 7N and Windows 7KN does contain video codecs which Modernizr try to test using canPlayType function. The simplest and most clean solution is just to install those codecs. The required codecs can be found in Windows Media Format Feature Pack for Windows 7 N and for Windows 7 KN, which can be downloaded from