Configuring the Chromecast Mini Controller for Android
Was this article helpful?
Review the following content for information about configuring the mini controller using the Ooyala mobile SDK for Android.
Important: This topic contains older information and has been deprecated. For the latest information about Ooyala integration with Chromecast, see Chromecast Integration.The mini controller controls appear when the user navigates away from the main player controls. These controls provide instant access to, and a visible reminder for, the currently casting video. The Android SDK mini controller implementation includes the following controllers:
The Android mini controller is provided by the CastCompanionLibrary. To customize the mini controller, modify mini_controller.xml.
|Activity mini controller (Required by Google)||When the user navigates out of the main player activity (the activity contains OoyalaPlayer), the current activity should have a mini controller embed somewhere so that the user can still have the control of casting video.|
|Notification mini controller (Required by Google)||When and only when the app is running in background, there will be a mini controller notification bar.|
|Lock screen mini controller (Required for KitKat only)||When the device is in lock screen there could be a mini controller available for user to control the current casting video without unlocking the screen.|
|Cast Menu mini controller (Required by Google)||During casting, there should be a mini controller inside cast menu.|
Note: To use OoyalaCastSDK to manage the mini controller navigation include the singleTop launchMode for all activities and set parentActivityName all activities in the Manifest. Refer to the ChromecastSampleApp Manifest for more details.