For questions related to playing a video with the Flutter open source framework by Google.
Questions tagged [flutter-video-player]
247 questions
2
votes
2 answers
How to support video streaming from ESP32CAM using flutter video_player plugin?
I am using flutter video_player plugin for camera video streaming. Camera streaming is from ESP32Cam hardware.
ESP32Cam is streaming video on network using http protocol and in mjpeg format
Verified in VLC media player, Codec information are as…

Krunal Sonparate
- 1,122
- 10
- 29
2
votes
1 answer
Is there a way to check whether a VideoPlayerController from the Flutter video-player package is already disposed?
At a point in my code I now that I won't need a VideoPlayerController anymore but I'm not sure whether or not a VideoPlayerController is already disposed. Currently, I call the dispose() method but when the VideoPlayerController is already disposed…

Christian
- 25,249
- 40
- 134
- 225
2
votes
1 answer
video player is full screen but video is smaller than it
hi I am using flutter with SDK version 2.12 I used video_player and better_player widget in my project when I build my app and use it on android box with android version 6.0.1 the video player is full screen but the video in it is smaller than…

milad
- 21
- 4
2
votes
2 answers
Flutter VideoPlayer didn't play youtube video
I am developing flutter app and using ext_video_player for play youtube video. When i was play my channel video on video player, its didn't work. But i add any video from youtube, player is working. Why its happening?
import…

Mortis Causa
- 41
- 1
- 6
2
votes
0 answers
Flutter video_player how to deal with temp data
I would like to stream a video that I receive via the SRT-Protocol (https://www.srtalliance.org/).
Unfortunately the flutter video_player does not support the SRT protocol. As the protocol is written in C/C++ I implemented a wrapper with dart:ffi…

tobisweb
- 41
- 2
2
votes
1 answer
Using video_player package with Flutter Hooks to play a background fullscreen video
I have a Home Screen Widget, that plays a fullscreen background video using the video_player package.
This code works fine for me:
class HomeScreen extends StatefulWidget {
HomeScreen({Key key}) : super(key: key);
@override
_HomeScreenState…
2
votes
2 answers
Twitch videos in flutter
I want to create a flutter website where there is a collection of twitch and youtube videos. I tried to use the video_player plugin but for that I can either use the youtube_player plugin or I have to use an API to convert all links to their source…

Siddharth Agrawal
- 2,960
- 3
- 16
- 37
2
votes
1 answer
How to stream videos on Flutter video_player?
I'm trying to implement streaming video in my Flutter app using HLS. I'm currently using AWS MediaConvert to transcode my video from mp4 into HLS. I want to restrict the ability to view a video to particular users so I'm using CloudFront Signed…

eric6685
- 85
- 1
- 9
2
votes
0 answers
Background audio playback while recording - Flutter
I am trying to implement a feature such that when a video is being recorded, a selected audio should be playing in the background. I can then use the FFmpeg to overlay the audio and video. I am using the default camera package for recording the…

Nishanth S
- 31
- 1
1
vote
0 answers
How to pass gestures through a widget in stack?
I am making a video player with parallax effect on scroll. The design is video on the top and title and description and other details in the bottom. As we scroll up to reveal more of the information the speed of video scroll will be slower than…

Ankit Verma
- 496
- 5
- 21
1
vote
0 answers
How to cache videos in flutter?
I have an app like Instagram, I play videos with video_player. If the user plays a video and watches that, scrolls to the next video, and then goes back to the previous video, the player downloads the file again to play that. How to cache videos to…

Sajjad Javadi
- 36
- 3
1
vote
2 answers
Flutter video_player - passing video file as parameter without errors
I'm attempting to create a page in my app which renders a video background, using video_player. I want to pass a video file into my video player widget, and I have followed the docs and this article for passing in a value, but I still have the…

css-flexbox
- 11
- 3
1
vote
0 answers
Flutter video_player not loading thumbnails on app load in iOS
I have built a video player using flutter using the package https://pub.dev/packages/video_player. For this I use the first frame of the video as a thumbnail. The video is streamed from firebase storage.
Everything works well for android. But the…

jayapriya durairajan
- 11
- 1
1
vote
1 answer
How can I use Riverpod together with the video_player package?
I am currently in the process of learning Flutter through a book and I've stumbled upon an issue I can't solve by myself. This is the very first time I ask something on stackoverflow so I apologise if it's not clear.
I have a video I want to play…

wim raes
- 11
- 1
1
vote
1 answer
Flutter: How to scale a video to fill screen while keeping aspect ratio?
I am trying to scale (zoom) a video to full screen, so there are no white borders while maintaining the aspect ratio of the video. I want it to overflow, I don't mind that some of the height or width is clipped.
But I struggle to produce code that…

Harmen
- 841
- 8
- 17