video_view 1.2.5
video_view: ^1.2.5 copied to clipboard
A lightweight media player with subtitle rendering and audio track switching support, leveraging system or app-level components for seamless playback.
1.2.5 #
- prevent compilation error on Windows.
1.2.4 #
- add an option to keep screen on while playing video.
1.2.3 #
- improve live stream handling.
1.2.2 #
- convert logo file to webp format.
1.2.1 #
- fix a bug may cause
objectFitnot working as expected.
1.2.0 #
- breaking change: use
async_value_notifierpackage for state management which avoids synchronous listener re‑entrancy corrupting sequential logic and supplies advanced options for notification. - add
VideoViewPlugin.jsversion check.
1.1.8 #
- support mpv v0.4.x on Linux.
- fix error handling while opening media files on Web platforms.
1.1.7 #
- fix a bug on Windows may cause unexpected behavior when calling
setPreferredAudioLanguage().
1.1.6 #
- fix a bug on Windows may cause unexpected behavior when calling
setMaxResolution()andsetMaxBitrate().
1.1.5 #
- no longer set
showSubtitletotrueautomatically while callingsetOverrideSubtitle()on Web platforms to keep the behavior consistent with other platforms. - no longer crash on unsupported Windows (win10 redstone 2 or earlier).
1.1.4 #
- gl context initialization on Linux is now moved to open method of
VideoControllerclass. which means you may listenerrorevent forgl context not availablemessage and retry as needed.VideoControllerwill not automatically retry anymore. - fix unexpected position change while switching video tracks on Linux.
1.1.3 #
- fix a bug may lead to crash when failed to initialize gl context on Linux.
- automatically retry when failed to initialize gl context on Linux for at most 4095 times.
1.1.2 #
- fix a bug while triggering
displayModechange event on Web platforms running in wasm mode.
1.1.1 #
- fix a resource leak while disposing
VideoController
1.1.0 #
- breaking change: replace
fullscreenandpictureInPicturewithdisplayModeinVideoControllerclass. - breaking change: replace
setFullscreen()andsetPictureInPicture()withsetDisplayMode()inVideoControllerclass. - fix a bug may cause video stop playing on Web platforms when
videoFitchanges. - fix a bug may cause
BoxFit.fitWidthandBoxFit.fitHeightnot working as expected with fullscreen on Web platforms.
1.0.16 #
- minor improvements.
1.0.15 #
- disable download menu on Web platforms.
- use
document.fullscreenEnabledanddocument.pictureInPictureEnabledto determine fullscreen and picture-in-picture availability on Web platforms.
1.0.14 #
- minor improvements on Web platforms.
1.0.13 #
- fix event handler leak on Web platforms.
1.0.12 #
- improve webinit command.
- improve online demo.
1.0.11 #
- fix a bug may cause audio and subtitle tracks out of sync on Web platforms.
1.0.10 #
- improve error handling on Web platforms.
1.0.9 #
- prefer previously selected track in
changeevent of Web platforms.
1.0.8 #
- fix buffering message missing in some cases.
1.0.7 #
- improve format detection from url on Android.
- avoid buffering message for local files.
1.0.6 #
- fix a bug may cause subtitles not working on Android Chrome.
1.0.5 #
- improve example.
1.0.4 #
- improve example.
1.0.3 #
- improve example.
1.0.2 #
- improve example.
1.0.1 #
- fix a bug in Safari may cause loading error.
1.0.0 #
- architecture upgrade, and add web support. (wasm compatible)
- provides better performance on android, but requires flutter 3.32 or higher.
- support fast seek on all platforms except chrome and windows.
- added
widthandheightparameters toVideoViewclass. - breaking change: file structure adjustment, no longer support high-granularity import. now the only entry is
video_view.dart. - breaking change:
SetStateSyncmixin is a standalone package now, please install it separately if needed. - breaking change: replace
sizingModewithvideoFitinVideoViewclass. - braaking change: removed video tracks from
VideoControllerMediaInfo.trackssince they're not supported on many platforms. which means it's no longer possible to switch video tracks viaoverrideTrack(). however,setMaxResolution()andsetMaxBitrate()are still available. - breaking change: replace
overrideTrackswithoverrideAudioandoverrideSubtitleinVideoControllerclass. - breaking change: replace
overrideTrack()withsetOverrideAudio()andsetOverrideSubtitle()inVideoControllerclass.
