Multi-Feature Views

You can use the following code sample to help you get started start creating your playback experience with Ooyala Cross-Device Resume and Google IMA ads integration and adding Player Token authentication.

The code sample includes multiple client web pages or views illustrating each feature and a seventh code sample that shows all the features working in combination. To implement each client page, you will need all the standard elements that you normally use such as your API Key, pcode, and so forth.

Where to Find the Code

To explore this code sample view in GitHub, go to: https://github.com/ooyala/code-samples/blob/master/application/views/Secure_XDR_GoogleIMA/multi-feature.php.

Multi-Feature Sample 

Our public GitHub repository also contains the multi-feature_sample.php file. This file contains the server side code and a client web page that combines all the client-side code for implementing all of the features described in the prior sections so you can see a single working sample that demonstrates ads integration with Google IMA, Ooyala Cross-Device Resume, and authentication with the Ooyala Player Token. It also includes the PHP Server-Side code to handle requests.

Was this article helpful?