Prerequisites
Before you begin developing your PlayReady protected Web app you may need to install various software on your system. The software that needs to be installed depends on how you are going to use your Web app.
EME-based Web page written in HTML5 and Javascript. This Web page will be run inside a browser (such as Internet Explorer 11). This Web page can be hosted on a Web server.
- No special packaging is required.
- No declaration of dependency on PlayReady is required.
Note
To use PlayReady, your JavaScript Web app should use the isTypeSupported EME method with a key system identifier of com.microsoft.playready
to query for PlayReady support from the browser.
Windows Store app. This is an app written in HTML5 and JavaScript using EME that is going to be developed using the Windows Runtime APIs for Store Apps and cannot be run on a browser. In this case, the following software is required:
Note
See Installing the PlayReady Extension on Visual Studio for information on installing and referencing the extension in Visual Studio.
WebView Control app. This is written in C# or C++ and hosts a WebView Control that will run the JavaScript and HTML5 and cannot run on a browser. In this case, the following software is required.
Note
See Installing the PlayReady Extension on Visual Studio for information on installing and referencing the extension in Visual Studio.
In addition to this software, if you are creating your Web page in Visual Studio 2013 for the first time, a dialog box opens that informs you that you must get a developer license for Windows 8.1. If this occurs, read the license terms and then choose I Agree. You will be asked to log into your Microsoft account with your username and password. Once you do so, your developer license will be downloaded to your machine. The developer license has an expiration date, so you will be prompted to renew your license before it expires to continue developing Windows Store apps.