For questions related to playing a video with the Flutter open source framework by Google.
Questions tagged [flutter-video-player]
247 questions
0
votes
0 answers
How do decode base64 video and play the video using flutter?
am recording the video using camera plugin and saved the video in internal storage path then i have encoded video using base64.Now i need to decode the encoded value and play the decoded value in flutter application.If any one can help me. thanks in…

Yuva
- 121
- 9
0
votes
0 answers
How to sort local video files for package video_player
I want to sort local files into different groups, such as video group, audio group, pdf group, here is my code:
Widget mainContent({int index, CardContentController controller}) {
return GetBuilder(builder: (controller)…

matti peter
- 150
- 10
0
votes
1 answer
Gstreamer plugin for embedded flutter freeze at first frame
I am trying to make a video player plugin work for the video_player package on flutter. This is all on an embedded target (iMX8M Mini). This plugin uses gstreamer to function. However, while gstreamer pipelines on the terminal work as intended,…

mmnano50
- 37
- 6
0
votes
0 answers
Exception! need both FlutterFragmentActivity vs FlutterActivity
I have a situation where I need to use local_auth which expects FlutterFragmentActivity as main activity, but on the other hand I also wanna use video_player package which expects FlutterActivity as main activity.
Main Activity for…

Jaspreet Singh
- 1
- 2
0
votes
0 answers
how to show a vertical video in a horizontal rectangle box in flutter
I have a video player that play videos in a rectangle box
my current video is a vertical video,
but I want to crop it in this rectangle with fit:BoxFit.cover
this is my code
Container(
height: 194,
width: Get.width,
child: Container(
…
0
votes
1 answer
PageView.builder reload content after navigation to the new page
I have a list of videos urls/youtube IDs and a PageView.builder. I want to load next/previous video according to position in the list. For example:
List videos = ['vid_0', 'vid_1', 'vid_2', 'vid_3', 'vid_4']
if current Playing video is vid_2, it…

Tahir
- 170
- 10
0
votes
1 answer
How to show videos in gridview ! (Flutter)
I am getting the video files from filepicker package now i want to show the videos on gridview when clicked on them video should be played (similar to gallery)
0
votes
0 answers
Flutter video player HLS videos are not working on IOS 16+
HLS videos (.m3u8) is not working on IOS devices which has OS 16.0 and above
same video are working on Android devices and also on IOS under OS 16.
flutter_version : 3.3.9
video_player : 2.4.8
test device : iPhone 13 pro, OS 16.1.1
to test, I've…
0
votes
1 answer
Immediate playback with Flutter's video_player
I have a CDN that serves videos to my Flutter application. The videos are around 20-30MB. Is there a way to instead of downloading the entire video before playing it, download the video in pieces, and immediately output the first piece to the…

Angela Riley
- 61
- 5
0
votes
0 answers
ChewiePlayer can't load the video (source error Null)
i'm using chewieController to play a video from the database, using postman or when i parse the link in the browser,the video gets loaded successfuly. But in flutter i get an error showing that the source error is null , and i'm sure that the link…

Khalil2K
- 19
- 3
0
votes
1 answer
Flutter Pod Player Exception: videoQuality cannot be empty
I started getting this exception on videos we just uploaded to Vimeo.
My usage:
Future videoPlayerInit() async {
if (podPlayerController != null) return;
podPlayerController = PodPlayerController(
playVideoFrom:…
0
votes
1 answer
Flutter Video_player not playing rtsp stream
I am trying to play the rtsp in my flutter app using this plugin video_player but this is showing Player Exception how to play rtsp only using this video player?

Adarsh Singh
- 93
- 2
- 11
0
votes
1 answer
Flutter Chewie next and back button
I want to put these buttons for android in Flutter chewie package, how can I do it.

Deniz Durmaz
- 53
- 4
0
votes
0 answers
Why does Flutter Camera Plugin return video content type as Application/octet-stream
hello guys!
i am using flutter story view package to implement story functionality in my app and i am using camera plugin to record video and upload, however the content type of the uploaded video is application/octet-stream when i receive it on my…

Deev.saini
- 1
- 1
0
votes
1 answer
Flutter video_player
I am using flutter video player and chewie packages. My code works on android but not on ios, it gives an error like below, how can I solve it?
PlatformException (PlatformException(VideoError, Failed to load video: Cannot Open, null, null))
class…

Deniz Durmaz
- 53
- 4