A few lines of CSS can give your project a new look and feel. Start by updating the Hapyak-enabled Brightcove Player to point to a CSS file:
- Login to Video Cloud Studio.
- Open the Players module.
- Locate the HapYak-enabled Brightcove Player and click on it to open the player properties.
- Click Plugins in the left navigation.
- Click the hapyak plugin to edit the plugin properties.
- Edit the Options(JSON) to point to the following CSS file.
//hapyak_demos.s3.amazonaws.com/css/customer/sample_on_hover_text_change.css
- Save the changes and publish the changes to the player.
Another option is to add this CSS to your current style sheet:
.popcorn-pop.hapyak-theme-black.bright-red.active {
color: #C60C46;
background: rgba(255, 255, 255, 0);
-webkit-transition: color 0.5s ease-in-out;
-moz-transition: color 0.5s ease-in-out;
-ms-transition: color 0.5s ease-in-out;
-o-transition: color 0.5s ease-in-out;
transition: color 0.5s ease-in-out;
}
.popcorn-pop.hapyak-theme-black.bright-red.active:hover {
background: rgba(255, 255, 255, 0);
color: #f40656;
}
Follow these steps to change the color of text annotations in a project:
- Login to Brightcove Interactivity Studio (https://www.hapyak.com/login).
- In the left navigation, click Manage.
- Click on a project to open it.
- Locate a text annotation and click Edit.
- Click More....
- Click Add Class.
- In the Classes textbox, add a color, ex:
bright-red
. - Click .
- Click Done.