Comments (3)
try this:
@override
void initState() {
super.initState();
flickManager = FlickManager(videoPlayerController: VideoPlayerController.network(videoUrl),);
flickManager.flickVideoManager.addListener(_videoPlayingListener);
}
_videoPlayingListener() async {
if (flickManager.flickVideoManager.isVideoInitialized) {
flickManager.flickControlManager.seekTo(Duration(seconds: resumeDuration));
}
}
works for me
from flick-video-player.
@mrinaljain Flick does not support this feature yet, you will have to manually handle this. You can set autoPlay to false and seek the video manually.
from flick-video-player.
@mrinaljain pretty cool what you are saying, do you have some links to show how we can allow the user to choose video quality?
@ahujaraghav how can we know when the video has loaded, so that we can start seeking and playing?
i see you wrote
flickManager.flickVideoManager.addListener(_videoPlayingListener);
but this is called also on toggling full screen.
how can we check for fist load?
are there some parameters we can use, or some data?
on what occasions is the method called?
from flick-video-player.
Related Issues (20)
- Show 10sec seek and back as ui option
- Video controller disposing on rotation
- Mismatch of minimum version of sdk and flutter in the pubspec.yaml file. HOT 2
- Video on full screen is zoomed in HOT 1
- Please help me with subtitles with player
- Failed to change device orientation: Error Domain=UISceneErrorDomain Code=101 "所有已请求的方向均不受视图控制器支持。已请求:landscapeRight;受支持:portrait" UserInfo={NSLocalizedDescription=所有已请求的方向均不受视图控制器支持。已请求:landscapeRight;受支持:portrait} HOT 1
- [ Subtitle ] Subtitle sync gets off after using seekbar
- SeekTo Issue
- Video Time not showing in hours format on more than 60 min.
- How to remove fullscreen icon? HOT 1
- how to stream HLS ,dash ,Videos ? HOT 1
- try to set the playerLoadingFallback, but occasionally it didn't work HOT 1
- No memory after playing numerous videos HOT 1
- Package isn't working with Shared_Plus Package HOT 4
- Package is not adding to pubspec HOT 3
- Incompatibility with Kotlin Gradle Plugin Version in Flutter Project HOT 1
- null value HOT 7
- how to load s3 url in flutter
- Video not displaying fully in fullscreen mode. HOT 2
- Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flick-video-player.