Server-side Formatting the Ooyala Player Token String
As described in the architectural overview, you must format a request for an Ooyala Player Token. You pass this string (along with the playhead position) to your client application for validation at playback time.The following is the syntax of a representative HTTP request for an Ooyala Player Token.
- pcode is your Ooyala-supplied provider ID.
- embed_code is the video ID or content ID.
- apiKey, expirationTime, and computedSignature are the request signing described at http://support.ooyala.com/developers/documentation/concepts/api_keys.html and http://support.ooyala.com/developers/documentation/tasks/api_signing_requests.html.
- account_id is the your identifier for the viewer.