/android-player

LUSH Player for Mobile, Tablet & TV

Primary LanguageJavaApache License 2.0Apache-2.0

Lush Player (Mobile, Tablet & TV)

Branch Status
develop Build Status
master Build Status

Watch live Lush TV and listen to Radio podcasts from Lush.

Setup

Fill in all of the credentials from local.properties.example and rename the file to local.properties.

At the time of writing this includes:

  • Brightcove Account ID (string)
  • Brightcove Policy ID (string)
  • Analytics Enabled (true/false)
  • Google Analytics Key (string, requires analytics enabled to be true)

Do not commit local.properties to source control. If you make changes to the credentials provided, please update and commit local.properties.example with example credentials.

Testing

App linking

When the user requests to view a url that starts with http://player.lush.com/tv/ or http://player.lush.com/radio/ (or its HTTPS variants), the app is registered to handle these links. It will launch the detail page with the relevant video based on the alias in the url.

An example of this would be:

http://player.lush.com/tv/conversation-john-robb-alexander-hacke-and-danielle-de-picciotto

To test this functionality you can use the following adb command:

adb shell am start -W -a android.intent.action.VIEW -d "http://player.lush.com/tv/conversation-john-robb-alexander-hacke-and-danielle-de-picciotto" com.cube.lush.player

Live videos

If you wish to add live videos for testing purposes, you should follow the process outlined in this documentation.

Phone Screenshots

Tablet Screenshots

TV Screenshots