omni_video_player 2.0.4 copy "omni_video_player: ^2.0.4" to clipboard
omni_video_player: ^2.0.4 copied to clipboard

A Flutter widget for playing videos from YouTube, Vimeo, assets, and network sources — fully customizable and easy to integrate.

2.0.4 #

🛠 Fixes

  • Resolved an issue where Vimeo videos would not autoplay as expected.
  • Fixed a bug causing the video to pause unexpectedly Issue #8 on GitHub

2.0.3 #

⚠️ Breaking Change

The customOverlayLayer field in CustomPlayerWidgets has been replaced by customOverlayLayers, a list of CustomOverlayLayer objects.

This allows adding multiple overlays on top of the video content, with fine-grained control over their rendering order.

Overlays are inserted into the rendering stack based on their level and order into list.

2.0.2 #

  • Added ignoreOverlayControlsVisibility flag to CustomOverlayLayer, this allows custom overlays to remain visible even when player controls are hidden (e.g., during auto-hide).

2.0.1 #

New Features

  • Custom Overlay Layering Support:
    • Introduced CustomOverlayLayer, allowing insertion of custom widgets into the video player's visual stack.
    • Each overlay can now specify a level, which determines its rendering order relative to built-in player elements.

2.0.0 #

⚠️ Breaking Change

  • preferredQualities has changed from List<int> to List<OmniVideoQuality> to improve clarity and flexibility when selecting video quality.
  • Introduced new model: OmniVideoQuality, replacing raw integer representations with a structured quality model.

New Features

  • YouTube quality switching:
    • Added support for changing video quality in YouTube playback.
    • Controlled via the new flag: showSwitchVideoQuality.
    • New parameter: availableQualities: List<OmniVideoQuality>? added to VideoSourceConfiguration of YouTube videos.

🎨 Theming Enhancements

New theme properties added to OmniVideoPlayerTheme:

  • menuBackground — dropdown background color
  • menuText — color for unselected quality options
  • menuTextSelected — color for the selected quality
  • menuIconSelected — checkmark color for selected quality
  • qualityChangeButton — icon used to open the quality menu
  • qualitySelectedCheck — icon used to mark the selected option

1.0.6 #

  • Fixed a bug where seeking in long YouTube videos caused noticeable delays

1.0.5 #

  • Improvement: autoplay is now managed correctly for better user experience
  • No parameter changes needed—just update the package to fix the issue

1.0.4 #

  • Feature: Added gesture-based fast-forward (enableForwardGesture)
  • Feature: Added gesture-based rewind (enableBackwardGesture)
  • Feature: Added gesture to exit fullscreen on vertical swipe (enableExitFullscreenOnVerticalSwipe)
  • All new gesture flags are enabled by default

1.0.3 #

  • Fix: Fallback to null if GlobalPlaybackController is not found

1.0.2 #

  • Fix bug when useGlobalPlaybackController: false

1.0.1 #

  • Resolve pub.dev analysis issues

1.0.0 #

  • Initial development release
43
likes
0
points
4.68k
downloads

Publisher

verified publisherleonardmatasel.it

Weekly Downloads

A Flutter widget for playing videos from YouTube, Vimeo, assets, and network sources — fully customizable and easy to integrate.

Repository (GitHub)
View/report issues

Topics

#video #youtube #vimeo #player #video-player

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

android_intent_plus, built_collection, flutter, flutter_bloc, flutter_inappwebview, http, logger, synchronized, url_launcher, video_player, visibility_detector, wakelock_plus, youtube_explode_dart

More

Packages that depend on omni_video_player