Skip to content

FVideoStyle

Stanislav Podolia edited this page Jun 30, 2020 · 3 revisions

Flow Wiki

FVideoStyle

  • FVideoKeepAspectRatio
    If true fits in wh with correct aspect ratio

  • FVideoCoverBox
    If true, fills the box, keeping aspect ratio. In case of video and box aspect ratios are not equal, video will be cropped.

  • 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>
  • FVideoPosition

    • position : DynamicBehaviour<double>
  • FVideoLength

    • length : DynamicBehaviour<double>
  • FVideoVolume
    volume is 1.0 by default

    • volume : DynamicBehaviour<double>
  • FVideoFullscreen

    • fullscreen : DynamicBehaviour<bool>
  • FVideoLoop
    loop is false by default

  • FVideoControls

    • controls : [ PlayerControl ]
  • FVideoSubtitles

  • FVideoSubtitlesAlignBottom

  • FVideoSubtitlesBottomBorder

    • border : double
  • FVideoSubtitlesScaleMode
    Subtitles are scaling with video. -1. is for no limit

    • min : double
    • max : double
  • FVideoTimeRange
    start, end are in seconds

  • FVideoPlaybackRate

    • rate : DynamicBehaviour<double>
  • FVideoRealSize

    • size : DynamicBehaviour<WidthHeight>
  • FInspectVideoArea
    Inspects metrics of video clip itself

    • metrics : DynamicBehaviour<FVideoAreaMetrics>
  • FVideoGetCurrentFrame
    get current frame as base64 string

    • fn : ref () -> string
  • SynchroCalls

  • StreamStatus

  • OnVideoLoadingError

  • ViewBounds

  • MediaStream

  • FVideoAdditionalSources
    Additional video stream urls
    Allows to specify different video formats

    • sources : [ FVideoSource ]
Clone this wiki locally