-
Notifications
You must be signed in to change notification settings - Fork 37
MVideoPlayerStyle
Ignores OnVideoLoadingError and FVideoControls
-
-
FVideoKeepAspectRatio
If true fits in wh with correct aspect ratio-
keep : Transform<bool>
-
keep : Transform<bool>
-
FVideoCoverBox
If true, fills the box, keeping aspect ratio. In case of video and box aspect ratios are not equal, video will be cropped.-
cover : Transform<bool>
-
style : [ FVideoCoverBoxStyle ]
-
cover : Transform<bool>
-
FVideoPlay
FVideoPlay and FVideoPosition can be changed outside and also are updated from player
play is changed to false at the end of a video if loop is false-
play : DynamicBehaviour<bool>
-
play : DynamicBehaviour<bool>
-
FVideoPosition
-
position : DynamicBehaviour<double>
-
position : DynamicBehaviour<double>
-
FVideoLength
-
length : DynamicBehaviour<double>
-
length : DynamicBehaviour<double>
-
FVideoVolume
volume is 1.0 by default-
volume : DynamicBehaviour<double>
-
volume : DynamicBehaviour<double>
-
FVideoFullscreen
-
fullscreen : DynamicBehaviour<bool>
-
fullscreen : DynamicBehaviour<bool>
-
FVideoLoop
loop is false by default-
loop : Transform<bool>
-
loop : Transform<bool>
-
FVideoControls
-
controls : [ PlayerControl ]
-
controls : [ PlayerControl ]
-
FVideoSubtitles
-
subtitles : Transform<VideoSubtitle>
-
subtitles : Transform<VideoSubtitle>
-
FVideoSubtitlesAlignBottom
-
FVideoSubtitlesBottomBorder
-
border : double
-
border : double
-
FVideoSubtitlesScaleMode
Subtitles are scaling with video. -1. is for no limit-
min : double
-
max : double
-
min : double
-
FVideoTimeRange
start, end are in seconds -
FVideoPlaybackRate
-
rate : DynamicBehaviour<double>
-
rate : DynamicBehaviour<double>
-
FVideoRealSize
-
size : DynamicBehaviour<WidthHeight>
-
size : DynamicBehaviour<WidthHeight>
-
FInspectVideoArea
Inspects metrics of video clip itself-
metrics : DynamicBehaviour<FVideoAreaMetrics>
-
metrics : DynamicBehaviour<FVideoAreaMetrics>
-
FVideoGetCurrentFrame
get current frame as base64 string-
fn : ref () -> string
-
fn : ref () -> string
-
-
SynchroCalls
-
StreamStatus
-
OnVideoLoadingError
-
ViewBounds
-
MediaStream
-
FVideoAdditionalSources
Additional video stream urls
Allows to specify different video formats
-
sources : [ FVideoSource ]
-
sources : [ FVideoSource ]
-
FVideoAdditionalSources
-
-
MColor
https://www.google.com/design/spec/style/color.html#color-color-palette
To construct a color, use one of the functions below-
color : MColorName
-
shade : int
-
accent : bool
-
color : MColorName
-
MPrimaryColor
-
MPrimaryVariantColor
-
MSecondaryColor
-
MSecondaryVariantColor
-
MBackgroundColor
-
MSurfaceColor
-
MToolbarColor
-
MErrorColor
-
MOnPrimaryColor
-
MOnSecondaryColor
-
MOnBackgroundColor
-
MOnSurfaceColor
-
MOnToolbarColor
-
MOnErrorColor
-
MContrastingTextColor
-
background : MThemeColor
-
background : MThemeColor
-
MThemedColor
-
-
MPlayerBackground
-
color : MThemeColor
-
color : MThemeColor
-
MEnabled
Disables inner clickable materials in most of the components-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MPlayerShowPanel
-
show : Transform<bool>
-
show : Transform<bool>
-
MPlayerPanelAutoHide
-
MPlayerControls
-
controls : [ MPlayerControl ]
-
controls : [ MPlayerControl ]
-
MPlayerVisibleRange
video range displayed in UI -
MAnimatedSubtitles
-
subtitles : Transform<VideoSubtitle>
-
style : [ MAnimatedSubtitleStyle ]
-
subtitles : Transform<VideoSubtitle>
-
MPlayerDisableKeyboardShortcuts
Hides panel 1 sec after playing was started, returns it on pause.