meedu_player library
Classes
- Caption
- A representation of a single caption.
- ClosedCaption
- Widget for displaying closed captions on top of a video.
- ClosedCaptionFile
- A structured representation of a parsed closed caption file.
- ClosedCaptionView
- CustomCallbacks
- CustomIcons
- this class help you to change the default player icons
- CustomOpacityTransition
- DataSource
- Debouncer
- this class is an implementenacion of a debounce functionallity
- DurationRange
- Describes a discrete segment of time within a video using a start and end Duration.
- Durations
- Defines the animation durations for various animations in a video.
- EnabledButtons
- this class helps you to hide some player buttons
- EnabledControls
- this class helps you to hide some player buttons
- EnabledOverlays
- This class helps you to enable or disable the visibility of player overlays.
- ForwardAndRewindRippleSide
- FullscreenButton
- LoggingActionDispatcher
- An ActionDispatcher that logs all the actions that it invokes.
- MeeduPlayerController
- MeeduPlayerDataStatus
- MeeduPlayerFullscreenPage
- MeeduPlayerProvider
- MeeduPlayerStatus
- MeeduVideoPlayer
- MSliderTrackShape
- MuteSoundButton
- PipButton
- PlayBackSpeedButton
- PlayerButton
- PlayerSlider
- PlayPauseButton
- Responsive
- A utility class that helps make the UI responsive by defining the size of icons, buttons, and text relative to the screen size.
-
Rx<
T> - Rx class to work with observables
- RxBuilder
- A widget to be used with Observables (instances of Rx)
-
RxNotifier<
T> - class to add dynamic updates into a RxBuilder widget
- RxReaction
- this class allow us to cancel schedules tasks and subscriptions
- ScreenManager
- SubRipCaptionFile
- Represents a ClosedCaptionFile, parsed from the SubRip file format. See: https://en.wikipedia.org/wiki/SubRip
- VideoCoreForwardAndRewind
- VideoCoreForwardAndRewindLayout
- VideoFitButton
- VideoPlayer
- Widget that displays the video controlled by controller.
- VideoPlayerController
- Controls a platform video player, and provides updates when the state is changing.
- VideoPlayerOptions
- VideoPlayerOptions can be optionally used to set additional player settings
- VideoPlayerValue
- The duration, current position, buffering state, error state and settings of a VideoPlayerController.
- VideoPlayerWebOptions
- VideoPlayerWebOptions can be optionally used to set additional web settings
- VideoPlayerWebOptionsControls
- VideoPlayerWebOptions can be used to set how control options are displayed
- VideoProgressColors
- Used to configure the VideoProgressIndicator widget's colors for how it describes the video's status.
- VideoProgressIndicator
- Displays the play/buffering status of the video controlled by controller.
- VideoScrubber
- A scrubber to control VideoPlayerControllers
- WebVTTCaptionFile
- Represents a ClosedCaptionFile, parsed from the WebVTT file format. See: https://en.wikipedia.org/wiki/WebVTT
Enums
- ControlsStyle
- An enumeration of the different styles that can be applied to controls, such as buttons and icons and layouts.
- DataSourceType
- The way in which the video was originally loaded.
- DataStatus
- PlayerStatus
- RippleSide
- VideoFormat
- The file format of the given video.
Mixins
-
AfterFirstLayoutMixin<
T extends StatefulWidget> - Add with AfterLayoutMixin
Extensions
- ContextExtensionss on BuildContext
- BuildContext extension with some ui utils methods and getters
- RxExtension on T
- creates an int observable using the prefix .obx
-
RxExtensions
on Rx<
T>
Functions
-
initMeeduPlayer(
{bool iosUseFVP = false, bool androidUseFVP = false}) → Future< void> - Parameters:
-
initWindowManagerIfNeeded(
) → Future< void> -
printDuration(
Duration? duration) → String -
printDurationWithHours(
Duration? duration) → String