For questions related to playing a video with the Flutter open source framework by Google.
Questions tagged [flutter-video-player]
247 questions
3
votes
1 answer
How to get or pick local GIF file from device
I have done lots of R&D about the pick-only GIF file and all give results only display or showing GIF files but
I want to only pick GIF files from a local device like images or videos.

Alpit Panchal
- 709
- 1
- 7
- 25
3
votes
1 answer
Is there any way to pre buffer a list of videos in flutter?
Currently I am working on a application like snapchat and tik-tok and I need to pre buffer videos or store them in cache memory before playing and play them from cache memory

Aman
- 71
- 3
3
votes
1 answer
Getting Unexpected DMA error in Flutter when using video_player, better_player, and chewie
Im trying to play a video. Im getting the following error:
E/gralloc_ranchu( 2305): updateHostColorBuffer: Unexpected DMA
E/ ( 2305): lockAndWriteDma: ERROR: No DMA context bound!
Im just using the sample code from…

Eugene Rozental
- 107
- 1
- 6
3
votes
1 answer
Flutter video player shows only the first frame of the video that I want to loop
I want to create a VideoPlayer class for my flutter application, where I can put a looping video. When I debug the app or I m running it in "release mode", the VideoPlayer shows only the first frame of the video.
This is the code from my…

Noob at this
- 77
- 2
- 7
3
votes
1 answer
Flutter - video_player listener being called very slowly
I want to get the current position of the video being played in real-time. I was thinking of using a listener, but if I do:
_controller.addListener(() => print(_controller.value.position.inMilliseconds))
It only prints the value every 500…

João Abrantes
- 4,772
- 4
- 35
- 71
3
votes
0 answers
The video_player plugin only on Android plays .MOV files without rotation
Using the video_player plugin, when playing a video that was uploaded from iOS (recorded in iOS horizontally and volume buttons up), only on Android devices it is inverted, but in iOS it plays correctly, it also plays correctly when opened in a…

Pablo Crucitta
- 374
- 2
- 7
2
votes
3 answers
How can get video player duration in flutter?
How can I get video duration without
https://pub.dev/packages/video_player
package or base this player. Is there any other way?
video player duration

Hossain72
- 19
- 3
2
votes
0 answers
flutter error: better_player causing error
gradle file
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
…

Deepak
- 1,664
- 3
- 19
- 52
2
votes
0 answers
While inside of fullscreen using a chewie controller video player, how can I scroll to perform an action?
I am trying to use a chewie controller that allows me to scroll down when inside of full screen to perform an action. Basically, once a user enters full screen for a video they should be able to scroll down to view a different video. I created a…

Justin Rudolph
- 21
- 2
2
votes
0 answers
Flutter Web on Safari: Videos behave inconsistent (some start playing even when paused, some don't)
When trying to play two (or more) videos in Safari, the first video requires user interaction to play, so I added a play button. Then, when the next video widget appears, the video will start automatically even if the video controller was paused.…

jules
- 357
- 1
- 3
- 11
2
votes
1 answer
Video initialize error Flutter, video_player
I faced such a problem that when my video in the video_player widget is initialized, such an backtrace comes out from flutter, after which the initialization stops and the video does not load. Someone know how to fix that? I have tried to use…

Andrew Sha
- 21
- 2
2
votes
1 answer
Green bar on the side of screen with video_player flutter
There is some green sidebar in some of the video in video_player flutter. It works fine in mobile but green bar appears when played on android tv.
My code sample
class VideoWidget extends StatelessWidget {
const VideoWidget({Key? key, required…

Aakash Ghimire
- 95
- 7
2
votes
2 answers
How to play video from Google Drive in Better Player - Flutter?
In my app, I already integrated with google login and I successfully accessed my google drive folder and video files(mp4). But better player can play public video by modified url like this https://drive.google.com/uc?id=my_video_file_id.
I want to…

Wai Han Ko
- 760
- 5
- 16
2
votes
1 answer
AAPT: error: attribute fastforward_increment (aka aplicationid.dev:fastforward_increment) not found
my dependency on pubspec.yaml
chewie: 1.3.0
flutter_zoom_sdk: ^1.0.0
gradle dependency
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation…

R-n Phuyal
- 53
- 1
- 5
2
votes
1 answer
How to disable rewinding and forwarding the video using Flutter Chewie package?
I am basically trying to prevent the user from rewinding or forwarding the video via progress slider but user should still be able to pause and play the video and see how many seconds/minutes remains till the end of the video.
How can i achieve this…

Emre Turan
- 83
- 1
- 8