Skip to content

MVideoPlayerStyle

Stanislav Podolia edited this page Jul 21, 2020 · 6 revisions

Flow Wiki

MVideoPlayerStyle

Ignores OnVideoLoadingError and FVideoControls

  • 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 ]
  • MThemeColor

  • MPlayerBackground

  • MEnabled
    Disables inner clickable materials in most of the components

  • MPlayerShowPanel

  • MPlayerPanelAutoHide

  • MPlayerControls

  • MPlayerVisibleRange
    video range displayed in UI

  • MAnimatedSubtitles

  • MPlayerDisableKeyboardShortcuts
    Hides panel 1 sec after playing was started, returns it on pause.

Clone this wiki locally