BaseVideoView
BaseVideoView provides the base functionality for BrightcoveVideoView, which for historical reasons isn't named BrightcoveSurfaceVideoView, and BrightcoveTextureVideoView. Those two classes are designed to be dropped into your XML layouts as a replacement for Android's native VideoView. This class provides public methods to mirror that of VideoView, plus additional logic for handling things like playlists. This class uses an EventEmitter to wire together components, like the VideoDisplayComponent and VideoPlaybackController.
See also
Inheritors
Constructors
Types
Functions
getCalculateSize is an extension function that return the correct Sizes from an element taking the BaseVideoView width and height as 100%
getScreenLayoutParams is an extension function that get the position (top, left) as a percentage from the API and return the layout parameters taking the BaseVideoView width and height as 100% if it is an image or layout will also receive the width and height to add the sizes
getScreenSizes() extension function that returns a Pair of height and width to be used in getScreenLayoutParams() and getCalculateSize()
jumpTo is an extension function that emit the SEEK_TO event