For questions related to playing a video with the Flutter open source framework by Google.
Questions tagged [flutter-video-player]
247 questions
1
vote
0 answers
How do I load the first video on my social video app quickly?
We've just launched a social video application on flutter framework similar to reels and tiktok and we're facing issues loading the first video when opening the app as the waiting time is approximately 6-10 seconds. I'd truly appreciate if somebody…

Ibrahim Jaber
- 21
- 1
1
vote
1 answer
flutter video player not showing video
In my app I have a video running in the background.
I have a parameter page with a filepicker button which saves the path of the selected video in sharedpreferences
Future _pickVideo() async {
final result = await…

ludovic mantion
- 21
- 2
1
vote
2 answers
Flutter VLC Player with options
import 'package:flutter/material.dart';
import 'package:flutter_vlc_player/flutter_vlc_player.dart';
class Home extends StatefulWidget {
@override
_ExampleVideoState createState() => _ExampleVideoState();
}
class _ExampleVideoState extends…

Ragavi R
- 11
- 4
1
vote
0 answers
Better player Orientation issue in iOS latest version
I'm using a better player library, but in the new iOS version, after changing rotation, it is rolling back to the original rotation.
Who know this problem?
Thanks.

Princh Kumar Verma
- 11
- 1
1
vote
1 answer
Once video paly the second will be pause automatically
file1 : pageViewWidg.dart
class PageViewWidg extends StatefulWidget {
final String videoUrl;
final String videoUrl2;
final String avatarImg;
PageViewWidg({
super.key,
required this.videoUrl,
required this.avatarImg,
required…

oussama
- 59
- 1
- 7
1
vote
0 answers
Change playback speed in flutter video_player package
I want to change the playback speed of the video with the flutter video_player package and save it to the gallery. I changed the playback speed with the property controller.setPlaybackSpeed but I couldn't find how to get the change information of…

selman altınbaş
- 11
- 4
1
vote
0 answers
flutter video_player is not working on IOS devices. Even though it works on android devices
I'm trying to use video_player in flutter to show network videos in mp4 format (https://www.heygold.com/media/reel/ThisorThat.mp4). On IOS devices it never sets _controller.value.isInitialized to true.
I'm using:
video_player: 2.4.7
Output of…

Caspar Bm
- 258
- 4
- 12
1
vote
1 answer
video_thumbnail package does not generate different thumbnails for different time frames
I have a video file and want to generate 10 different thumbnails for the whole video. I use video_thumbnail package and VideoThumbnail.fromFile() constructor. This constructor has an argument called timeMs and is for, as the documentation states:…

sm_sayedi
- 326
- 2
- 17
1
vote
1 answer
Issue with video_player : 2.2.19 package
Getting this error on release build for video player, but the debug build works fine
PlatformException(channel-error, Unable to establish connection on channel., null, null)
I/flutter (13504): ------------StackTrace-------------
I/flutter (13504):…

Saurav Kumar
- 21
- 3
1
vote
1 answer
How to set limit on Loading when playing video. I'm using Better Player Flutter plugin
When I play a video, it loads the entire video in the first 5 minutes itself. This consumes a lot of my data. I want to load video as it as plays or just for the next five minutes. What functionality should I use for this so that my work becomes…

Pawan Joshi
- 25
- 6
1
vote
1 answer
How to make a square video 1:1 without losing its aspect ration in Flutter with video_player package
Trying to crop the video of a video to display a preview as a square without changing its width and height.

J. Diaz
- 371
- 1
- 6
- 16
1
vote
0 answers
Flutter video player from stream response api
I am trying to read a stream in chunks and play them to video_player Flutter, but it does not seem to be working.
I have created an API with the help of Asynchronously streaming video with ASP.NET Web API which return the Stream outputStream as…

Nhật Duy Trương
- 11
- 1
1
vote
1 answer
How to stop the video player from playing when moving from one page to another
I am using video_player package for displaying a video. I have written the video player inside separate class. The issue is, during the video playing, when I try to close the page by pressing back button, a bottomsheet will be presented on the…

viki
- 404
- 3
- 14
1
vote
0 answers
video_player looping break
I want to use the video_player library in my project. I want to loop one video that has the same beginning and the end (same sound, same frame) but when looping it seems like there is a small break between the first and next playing of the video…

Bojan Savic
- 11
- 1
1
vote
0 answers
Flutter video_player with StreamBuilder
I want to use audio_video_progress_bar for my video_player, it require a stream istead for the "DurationState" in this code:
StreamBuilder(
stream: _durationState,
builder: (context, snapshot) {
final durationState =…

I'm MasY
- 19
- 3