<parone>
elements can ingest an external stylesheet with the stylesheet
param.
content-key = " CONTENT_KEY "
Video Block
The following classes are used for single video blocks. For configuring a Video Block, see Configuring Video Block .
/* CSS settings to change player element */
/* This includes the video wrapper, title, description, and publisher logo */
background-color : # 021f1b ;
grid-template-areas : " video " " title " " description " ;
/* CSS settings to change video wrapper */
/* This includes the video tag, the overlays,and the controls */
/* CSS settings to change player logo */
/* CSS settings to change player title */
.custom-player-description {
/* CSS settings to change player description text */
/* CSS settings to change center play button color */
Thumbnail Carousels
The following classes are used for thumbnail carousels. For configuring a carousels, see Configuring Carousels .
.custom-thumbnail-carousel {
/* the whole carousel element */
.custom-thumbnail-carousel-card (
/* the card of a video */
.custom-thumbnail-carousel-card-image {
/* the image of the thumbnail */
.custom-thumbnail-carousel-card-logo {
.custom-thumbnail-carousel-card-title {
.custom-thumbnail-carousel-card-description {
Playlist
The following classes can customize a Playlist. For configuring a Playlist, see Configuring Playlists .
/* CSS settings to change player element */
/* This includes the video wrapper, title, description, and publisher logo */
background-color : # 021f1b ;
grid-template-areas : " video " " title " " description " ;
/* CSS settings to change video wrapper */
/* This includes the video tag, the overlays,and the controls */
/* CSS settings to change player logo */
/* CSS settings to change player title */
.custom-player-description {
/* CSS settings to change player description text */
/* Video Playlist Component */
/* This is the wrapping class of the entire component */
/* This class contains the distributor logo and playlist name */
.custom-playlist-publisher-logo {
/* This is the logo of the distributor (you) */
/* This is the name of the feed you are using for the playlist */
.custom-playlist-video-list {
/* This is the list of videos */
.custom-playlist-playlist-card {
/* This is the card of a video in the list */
.custom-playlist-playlist-card-thumbnail {
/* This is the thumbnail of a video in its card */
.custom-playlist-playlist-card-thumbnail-live {
/* This is the live tag of livestream in its card */
.custom-playlist-playlist-card-name {
/* This is the name of a video in its card */
.custom-playlist-playlist-card-description {
/* This is the description of a video in its card */
Multi-Playlist Carousel
The following classes can customize a Multi-Playlist Carousel. For configuring a Multi-Playlist Carousel, see Configuring Multi-Playlist Carousel .
/* holds the feed rows */
.multi-feed-carousel-name {
/* targets both nav buttons */
/* targets prev nav buttons */
/* targets next nav buttons */
/* targets the video card */
/* targets the video card thumbnail container */
.video-card-thumbnail-image {
/* targets the video card thumbnail */
/* targets the video card title */
Docked
The following classes can customize how a docked video appears on the screen.
/* The whole docked window */
.docked-close-container {
/* is what holds the close text */
/* is what holds the close span */
/* is what holds the close icon */
Fullscreen
The following classes can customize the fullscreen exit button.
Captions Requires Subtitling
ParOne provides a css class to enable publishers to target the Captions block.
/* target the captions */
Call to Action Requires E-Commerce
ParOne provides CSS classes that enable publishers to target the Call-To-Action buttons.
/* The entire Ecommerce bar */
/* Ecommerce bar content */
/* Wraps the icon and chevron */
/* Animation for the chevron background */
/* Chevron for expanding the bar */
/* Wraps the title and subtext */
/* Title of the ecommerce icon */
/* Subtext of the ecommerce icon */
See styling MediaHUB for instructions to style mediaHUB.
State Classes
We provide CSS classes that reflect the current state of the video player. These classes are located at the top level of the video player. This means that for our pre-built components, these state classes are not located at the topmost level of our custom element or on the HTML video tag. They wrap the video tag, description, title, producer logo, our overlays, the captions, and the controls. This allows customization of appearance based on player state purely through CSS.
The currently available state classes are as follows:
Class State stopped Content is not playing playing Content is playing inAd An advertisement is being run, and content is not playing