Class SkinConfig.Builder
- java.lang.Object
-
- com.longtailvideo.jwplayer.configuration.SkinConfig.Builder
-
- Enclosing class:
- SkinConfig
public static class SkinConfig.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkinConfig
build()
SkinConfig.Builder
controlBarBackground(java.lang.String controlBarBackground)
SkinConfig.Builder
controlBarIcons(java.lang.String controlBarIcons)
SkinConfig.Builder
controlBarIconsActive(java.lang.String controlBarIconsActive)
SkinConfig.Builder
controlBarText(java.lang.String controlBarText)
SkinConfig.Builder
menusBackground(java.lang.String menusBackground)
SkinConfig.Builder
menusText(java.lang.String menusText)
SkinConfig.Builder
menusTextActive(java.lang.String menusTextActive)
SkinConfig.Builder
name(java.lang.String name)
SkinConfig.Builder
timeSliderProgress(java.lang.String timeSliderProgress)
SkinConfig.Builder
timeSliderRail(java.lang.String timeSliderRail)
SkinConfig.Builder
tooltipsBackground(java.lang.String tooltipsBackground)
SkinConfig.Builder
tooltipsText(java.lang.String tooltipsText)
SkinConfig.Builder
url(java.lang.String url)
-
-
-
Method Detail
-
name
public SkinConfig.Builder name(java.lang.String name)
- Parameters:
name
- The name of your custom skin to use for styling the player. If you are specifying skin.url, you must specify skin.name, which must match the class name in your CSS file.
-
url
public SkinConfig.Builder url(java.lang.String url)
- Parameters:
url
- If using an external CSS file to style your player, this must be specified here.
-
controlBarText
public SkinConfig.Builder controlBarText(java.lang.String controlBarText)
- Parameters:
controlBarText
- The color of any plain text in the control bar, such as the time.
-
controlBarIcons
public SkinConfig.Builder controlBarIcons(java.lang.String controlBarIcons)
- Parameters:
controlBarIcons
- The default, inactive color of all icons in the control bar. This option also controls the color of the play, pause, and replay icons in the inactive and complete states.
-
controlBarIconsActive
public SkinConfig.Builder controlBarIconsActive(java.lang.String controlBarIconsActive)
- Parameters:
controlBarIconsActive
- The color of hovered or selected icons in the control bar.
-
controlBarBackground
public SkinConfig.Builder controlBarBackground(java.lang.String controlBarBackground)
- Parameters:
controlBarBackground
- The background color of the control bar and the volume slider. The default background is transparent.
-
timeSliderProgress
public SkinConfig.Builder timeSliderProgress(java.lang.String timeSliderProgress)
- Parameters:
timeSliderProgress
- The color of the bar in the time slider filled in from the beginning of the video through the current position. The buffer region of the control bar is 50% of the opacity of this color. The color of the volume slider is also controlled by this option.
-
timeSliderRail
public SkinConfig.Builder timeSliderRail(java.lang.String timeSliderRail)
- Parameters:
timeSliderRail
- The color of the base of the timeslider, known as the rail.
-
menusText
public SkinConfig.Builder menusText(java.lang.String menusText)
- Parameters:
menusText
- The color of inactive, default text in menus and the Next Up overlay.
-
menusTextActive
public SkinConfig.Builder menusTextActive(java.lang.String menusTextActive)
- Parameters:
menusTextActive
- The color of hovered or selected text in menus. This option also controls the text color in the Discover overlay and the hover state text color in the Next Up overlay.
-
menusBackground
public SkinConfig.Builder menusBackground(java.lang.String menusBackground)
- Parameters:
menusBackground
- The background color of menus and the Next Up overlay.
-
tooltipsText
public SkinConfig.Builder tooltipsText(java.lang.String tooltipsText)
- Parameters:
tooltipsText
- The text color of tooltips.
-
tooltipsBackground
public SkinConfig.Builder tooltipsBackground(java.lang.String tooltipsBackground)
- Parameters:
tooltipsBackground
- The background color of tooltips.
-
build
public SkinConfig build()
-
-