flutter_vap_player 1.0.0
flutter_vap_player: ^1.0.0 copied to clipboard
Flutter VAP player widget/controller API.
Unreleased #
1.0.0 #
- Breaking: replace
VapViewwithVapPlayer. - Breaking: replace
playAsset,playFile, andplayNetworkwith oneplay(VapSource, options:)entrypoint. - Breaking: replace mutable playback setters and separate playback/click streams with play-scoped
VapPlaybackOptionsand oneeventsstream. - Breaking: replace
VapContentMode/contentModewith FlutterBoxFitviaVapPlaybackOptions.fit. - Breaking: replace the network cache API with
info,setMaxBytes, andclear.
0.2.0 #
- Add
VapController.pause()andVapController.resume()playback controls. - Support safe
VapViewcontroller handoff at runtime and cancel pending play requests on controller detach. - Harden controller/view teardown with idempotent disposal and tolerant native view cleanup.
- Align iOS/Android resource fallback behavior and FPS request contract.
- Harden network playback path on Android and iOS with strict HTTP validation (
2xx), redirect limits (3), bounded downloads, and MP4 signature checks before cache promotion. - Document stable network playback failure codes surfaced through
VapPlaybackEvent.errorCode. - Clarify
VapNetworkCache.setAutoEvictionMaxBytesnow governs both cache eviction target and max single network download size (with a10 MiBfloor).
0.1.0 #
- Initial public release of the federated Flutter VAP plugin.
- Provides
VapViewandVapControllerAPIs for Android and iOS playback. - Supports asset, file, and network VAP sources.
- Adds VAPX tag replacement and async image resolver support.
- Adds playback, click, and error event streams.
- Adds network cache APIs (
VapNetworkCache) for size, clear, and pruning control.