Playback your protected content

To test your DRM solution, you need a video application that can process the particular DRM solution you are working with. This player could be a sample player made available by Adobe, or your own TVSDK-based video application.

  1. Use the License Server URL from the token response you got back from the ExpressPlay server to test whether you can play back your protected content.

    • Widevine - Use the Widevine response directly as received from your ExpressPlay license token request.
    • PlayReady - Get the License Server URL and token from the JSON object returned from your license token request.
    • FairPlay - Use the FairPlay response directly as received from your ExpressPlay license token request.
  2. Test playback of your protected content utilizing either your own player, or an existing Adobe sample player.

    Provide the URL to your protected content (the location of your M3U8 or MPD manifest, depending upon which DRM solution you are testing).

    Depending upon the interface provided by the player you test with, you may be asked to supply the license URL and token separate as strings in input fields, or as a JSON object pasted into a text box, or perhaps as a query parameter in the URL.

    Some possibilities for test players are listed here:

    • HTML5 Reference Player:
    • Shaka Player:
    • Sample TVSDK Player (under development) -

    Checking playback when testing your FairPlay setup: FairPlay requires some extra steps to play back content when you are using the ExpressPlay license servers. If you are using curl to test your connections (as described in Licensing), you need to edit your M3U8 manifest (your packaged content) as follows:

  3. Add the response you got back from your license token request to the #EXT-X-KEY: tag in the manifest; and

  4. Change the protocol of that URL from the response (now in the manifest), from https:// to skd://.

    Here is a complete example for testing playback with FairPlay, including the licensing step:

  5. Use the FairPlay license token request to obtain your license token URL. (Use your own Production Customer Authenticator, and be sure to use the same CEK and iv that was used to package your FairPlay content.) Run the following command to obtain the license token URL for the example content:

    curl -v "
    &contentKey CEK as query parameter contentKey

    You should get a response back with the license token URL that looks something like this:
  6. Put the returned license token URL response into your M3U8 manifest, and change the scheme of license token URL to sdk:// from https://. Following is an example of the #EXT-X-KEY tag in your M3U8 manifest:


    The preceding information applies only to the testing of your FairPlay setup. It may not apply to your production setup, depending upon how you configure your FairPlay handler. See Enable Apple FairPlay in iOS applications for details.

If your video plays, you’ve successfully packaged and licensed your content. If your video does not play, check the troubleshooting page for some possible solutions to your troubles.

For example, here is the part of the UI in the first test player listed above, where you supply the licensing information obtained from the ExpressPlay server:

On this page