Module wicket.bootstrap.extensions
Class Html5VideoConfig
java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.html5player.Html5VideoConfig
- All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config,Serializable,IClusterable
public class Html5VideoConfig
extends de.agilecoders.wicket.jquery.AbstractConfig
Html5Player configuration- Author:
- miha
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoHideControlBar(boolean value) enable auto hide control barautoPlay(boolean value) enable auto playshowFullscreenButton(boolean value) enable full screen buttonshowPlayPauseButton(boolean value) show pause/play buttonshowProgressBar(boolean value) show progress barshowTimer(boolean value) show video timerwithVolume(int value) show and set volume value 1..10Methods inherited from class de.agilecoders.wicket.jquery.AbstractConfig
all, contains, get, getString, isEmpty, newKey, put, remove, toJsonString, wrapMethods inherited from class de.agilecoders.wicket.jquery.CombinableConfig
combine, withFallback
-
Constructor Details
-
Html5VideoConfig
public Html5VideoConfig()Construct.
-
-
Method Details
-
withVolume
show and set volume value 1..10- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
autoPlay
enable auto play- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
autoHideControlBar
enable auto hide control bar- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
showFullscreenButton
enable full screen button- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
showTimer
show video timer- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
showProgressBar
show progress bar- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-
showPlayPauseButton
show pause/play button- Parameters:
value- mandatory parameter- Returns:
- this instance for chaining.
-