video_view 1.1.4
video_view: ^1.1.4 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.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.