mohe_native_player 1.3.1 copy "mohe_native_player: ^1.3.1" to clipboard
mohe_native_player: ^1.3.1 copied to clipboard

A Flutter native video player plugin for iOS and Android with full-featured controls, HLS/DASH support, danmaku, DLNA casting, PiP, and more.

1.3.1 #

  • chore(ios): clarify gravityRotationAllowed naming comment to explain why it differs from the exported setGravityRotationEnabled: method name.

1.3.0 #

  • feat: PlayerView now accepts a mode parameter (PlayerMode.normal / PlayerMode.shortDrama). In short drama mode, Flutter gesture recognizers are not registered so outer PageView can handle vertical swipes natively.
  • feat(ios): short drama mode disables double-tap and long-press gestures to prevent UITapGestureRecognizer.delaysTouchesEnded from blocking Flutter's VerticalDragGestureRecognizer.
  • fix(ios): gravity rotation no longer starts automatically on player init — must be explicitly enabled via setGravityRotationEnabled(true).
  • fix(ios): reset motion manager orientation state on stop to prevent stale landscape/portrait state on next start.

1.2.1 #

  • fix(ios): back button hidden state was being reset by internal UI refresh — add portraitBackButtonHidden property and respect user override across showControls and fullscreen transitions.
  • fix(android): align Android short drama mode with iOS — setPlayerMode(SHORT_DRAMA) now hides back button by default; explicit setPortraitBackButtonVisible calls take priority over mode defaults.

1.2.0 #

  • feat: add playerMode (normal / shortDrama) — short drama mode disables mid-video pan gestures.
  • feat: add backButtonInsets — customize portrait back button position to avoid Dynamic Island.
  • feat: add seekToSeconds — precise seek for both normal and short drama modes.
  • fix: sync adMode priority fix — ad mode now takes precedence over shortDrama, keeping pan gesture enabled during ads.
  • feat(android): add playerMode, backButtonInsets, and seekToSeconds support on Android.

1.1.1 #

  • Fix: restore gravity rotation detection — startDeviceMotionUpdatesToQueue was accidentally commented out, causing auto-rotation to stop working.
  • Fix: add setGravityRotationEnabled and setPortraitBackButtonVisible bridge methods to iOS Flutter bridge.

1.0.1 #

  • Add missing Android entry point: PlayerPlugin.java, AndroidManifest.xml.
  • Add full Android Java sources: managers, views, models, utils, DanmakuFlameMaster library.

1.0.0 #

  • Rename package from nova_native_player to mohe_native_player.
  • Fix unused field, unused method, and unnecessary import warnings.

0.0.1 #

  • Initial release.
  • Native video player for iOS and Android.
  • HLS/DASH streaming support.
  • Full playback controls, danmaku, DLNA, PiP, fullscreen.
2
likes
0
points
1.4k
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter native video player plugin for iOS and Android with full-featured controls, HLS/DASH support, danmaku, DLNA casting, PiP, and more.

License

unknown (license)

Dependencies

flutter, screen_brightness, volume_controller

More

Packages that depend on mohe_native_player

Packages that implement mohe_native_player