Comments (6)
@leszekkrol ok in that case try adding this code in onWillPop
if (flickManager.flickControlManager.isFullscreen) {
flickManager.flickControlManager.exitFullscreen();
}
from flick-video-player.
This feature is enabled by default, can you share code snippets, and some Screenshots for the issue.
from flick-video-player.
@ahujaraghav it's weird. We implement video player in accordance with the basic guidelines from the technical documentation. Example bottom:
`import 'package:flutter/material.dart';
import 'package:flick_video_player/flick_video_player.dart';
import 'package:video_player/video_player.dart';
class SamplePlayer extends StatefulWidget {
SamplePlayer({Key key}) : super(key: key);
@OverRide
_SamplePlayerState createState() => _SamplePlayerState();
}
class _SamplePlayerState extends State {
FlickManager flickManager;
@OverRide
void initState() {
super.initState();
flickManager = FlickManager(
videoPlayerController:
VideoPlayerController.network("url"),
);
}
@OverRide
void dispose() {
flickManager.dispose();
super.dispose();
}
@OverRide
Widget build(BuildContext context) {
return Container(
child: FlickVideoPlayer(
flickManager: flickManager
),
);
}
}`
There is also a WillPopScope component in the class in which we embed the video.
from flick-video-player.
Can you try removing the WillPopScope from the class in which you embed the video.
from flick-video-player.
@ahujaraghav unfortunately for this screen it is necessary to use this component. Is there any other way to intercept this event? however, I confirm removing this component solves the issue
from flick-video-player.
It will definitely be a challenge, because the screen contains a lot of smaller widgets. Nevertheless, thank you for your help :)
from flick-video-player.
Related Issues (20)
- 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 HOT 1
- 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
- Android M3U8 video format not playing HOT 1
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.