Skip to content

Instantly share code, notes, and snippets.

@pajatopmr
pajatopmr / BrightcoveMediaControllerRewindArrowLeft.xml
Created Apr 5, 2015
Shows how to change a button face, in this case, the Rewind button.
View BrightcoveMediaControllerRewindArrowLeft.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Arrow Left Rewind</string>
<!-- Use the Font Awesome fa-arrowleft icon for the rewind button
face. -->
<string name="rewind">&#xf060;</string>
</resources>
@pajatopmr
pajatopmr / BrightcoveMediaControllerCustomSeekBarColors.xml
Created Apr 5, 2015
Shows how to customize the Brightcove media controller seek bar's progress colors.
View BrightcoveMediaControllerCustomSeekBarColors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Define the new colors. -->
<color name="blue_semi_trans">#730000ff</color>
<color name="magenta_semi_trans">#4DFF00FF</color>
<!-- This file will be found at ...res/values/colors.xml -->
<!-- Change the progress colors to magenta/black/blue, all transparent. -->
View BrightcovePlayerControlsFiveSecondShowHidetTimeout.java
package com.brightcove.player.demo.ootbp;
/**
* This app illustrates the basic behavior of the Android default media controller. In this case the media controls
* are always shown.
*
* @author Paul Michael Reilly
*/
public class MainActivity extends BrightcovePlayer {
@pajatopmr
pajatopmr / BrightcovePlayerControlsSlideAnimationStyle.java
Last active Aug 29, 2015
Shows how to customize the Android Brightcove player controls to set the animation style to "slide".
View BrightcovePlayerControlsSlideAnimationStyle.java
package com.brightcove.player.demo.ootbp;
/**
* This app illustrates the basic behavior of the Android default media controller. In this case the media controls
* transition from showing to hidden using a "slide" animation style.
*
* @author Paul Michael Reilly
*/
public class MainActivity extends BrightcovePlayer {
@pajatopmr
pajatopmr / BrightcoveMediaControlsAlwaysShow.java
Created Apr 12, 2015
Show how to customize the Brightcove media controls so that they are always visible.
View BrightcoveMediaControlsAlwaysShow.java
package com.brightcove.player.demo.ootbp;
/**
* This app illustrates the basic behavior of the Android default media controller. In this case the media controls
* are always shown.
*
* @author Paul Michael Reilly
*/
public class MainActivity extends BrightcovePlayer {
@pajatopmr
pajatopmr / BrightcoveMediaControllerHideButton.java
Created Apr 5, 2015
Shows how to hide a button, the captions button.
View BrightcoveMediaControllerHideButton.java
/**
* This app illustrates the basic behavior of the Android default media controller.
*
* @author Paul Michael Reilly
*/
public class MainActivity extends BrightcovePlayer {
// Private class constants