Class LogoConfig.Builder
- java.lang.Object
-
- com.longtailvideo.jwplayer.configuration.LogoConfig.Builder
-
- Enclosing class:
- LogoConfig
public static class LogoConfig.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogoConfig
build()
LogoConfig.Builder
file(java.lang.String file)
LogoConfig.Builder
hide(java.lang.Boolean hide)
LogoConfig.Builder
link(java.lang.String link)
LogoConfig.Builder
margin(java.lang.Integer margin)
LogoConfig.Builder
position(java.lang.String position)
-
-
-
Method Detail
-
file
public LogoConfig.Builder file(java.lang.String file)
- Parameters:
file
- The URL of an external JPG, PNG or GIF image to be used as watermark (e.g. /assets/logo.png). We recommend using 24 bit PNG images with transparency.
-
hide
public LogoConfig.Builder hide(java.lang.Boolean hide)
- Parameters:
hide
- When this option is set to true, the logo will automatically show and hide along with the other player controls.
-
link
public LogoConfig.Builder link(java.lang.String link)
- Parameters:
link
- The URL to visit when the watermark image is clicked. Clicking a logo will have no affect unless this is configured.
-
margin
public LogoConfig.Builder margin(java.lang.Integer margin)
- Parameters:
margin
- The distance, in pixels, of the logo from the edges of the display.
-
position
public LogoConfig.Builder position(java.lang.String position)
- Parameters:
position
- This sets the corner in which to display the watermark. Must be one of the LOGO_POSITION_ constants.
-
build
public LogoConfig build()
-
-