Package com.storedobject.ui
Class Video
java.lang.Object
com.vaadin.flow.component.Component
com.storedobject.vaadin.Media
com.storedobject.vaadin.Video
com.storedobject.ui.Video
- All Implemented Interfaces:
HasSize,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VideocreateFromMedia(String... names) Create a video from the media file.voidMethods inherited from class com.storedobject.vaadin.Media
addSource, addSource, clear, onAttach, onDetach, setSource, setSource, showControlsMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
Video
public Video()Constructor. -
Video
Constructor.- Parameters:
streamData- Stream data from which media streamAll to be pulled
-
Video
Constructor.- Parameters:
streamDataId- Id of the streamAll data from which media streamAll to be obtained
-
Video
public Video(com.vaadin.flow.server.StreamResource... resources) Constructor.- Parameters:
resources- Sources to be set
-
Video
-
Video
Constructor.- Parameters:
mediaFile- Media file containing the video
-
-
Method Details
-
createFromMedia
-
setSource
-