Questions tagged [flutter-video-player]

For questions related to playing a video with the Flutter open source framework by Google.

247 questions
1
vote
0 answers

Unhandled Exception: type 'List' is not a subtype of type 'String?' in type cast

I get the ERROR Unhandled Exception: type 'List' is not a subtype of type 'String?' in IOS only and that too not in every video. Some of the other videos get picked without any error.In android it works fine without any error. What could it be? Pls…
GAGAN SINGH
  • 261
  • 2
  • 17
1
vote
0 answers

Is there any Flutter/Dart Package that can segment video and add comments on them?

I am quite new to Flutter and I am hesitating to use it for my next project. What I want : -The possibility to segment video (like in Youtube bar, to show differents parts of the video) -The possibility to add text comments inside the video for a…
1
vote
0 answers

Flutter video player web still play audio after dispose

I use Flutter video_player package for playing video files on native platforms (android, ios) and web. On web I've encountered a situation when video player keeps playing audio even after the video is paused or video controller has been disposed.…
Martin Edlman
  • 665
  • 7
  • 15
1
vote
2 answers

How to controll a video player in seperate dart file in flutter

I'm initializing a VideoPlayerController with the video_player package (https://pub.dev/packages/video_player) in one dart file in my flutter project and when i want to controller.pause() the video from a different dart file it fails to recognize…
TezzeP
  • 11
  • 1
1
vote
1 answer

FFmpeg error while adding watermark: Not overwriting - exiting

I'm implementing a video editing feature on my Flutter App using the Flutter-FFmpeg package, [Adding watermarks on video] specifically, while executing the code I got this error: E/mobile-ffmpeg( 5731): Not overwriting - exiting D/flutter-ffmpeg(…
1
vote
1 answer

Can't start video inside initState

I tried to start video inside intiState , but didn't work, then I added it inside the build function and it worked, but now it cant be paused am wondering why : Below is how I play the video : @override Widget build(BuildContext context) { …
Lutaaya Huzaifah Idris
  • 3,596
  • 8
  • 38
  • 77
1
vote
0 answers

Lost connection to device. After add video_player packages in Flutter

I have project flutter, and I want to add the live-streaming feature to this project. I want to use video_player packages (https://pub.dev/packages/video_player/versions/2.0.0-nullsafety.3) but after I have added the packages I get an error in my…
1
vote
1 answer

Is there a way to play videos from where it's stopped previously in flutter?

I want to play the video from the exact time where it's stopped previously in flutter video player. Is there a function or a dependency with which I can do it?
1
vote
0 answers

Use flutter_cache_manager with video_player

How can I stream a video using video_player and flutter_cache_manager? All the examples I've seen download the file first using flutter_cache_manager and play the video after. Thanks
jennie788
  • 396
  • 3
  • 18
1
vote
0 answers

Source Error occurs when google drive video plays with file id using video player in flutter?

I found some example using video player at How to play videos from a Google Drive link? I also tried like this but source error occur. W/_drive_demo_ap(14285): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (light greylist,…
1
vote
1 answer

Is it possible to use PIP (picture in picture) in flutter video_player android?

I am trying to use pip mode in my flutter app.. for instance thanks to thanhit93 I found this. but it found that he has customized the package for ios only... What about android? is it enabled in the default video_player package? ..thanks
1
vote
0 answers

how to get videos from Gallery and upload it firebase firestore using Image Picker and Video Player in Flutter?

I am trying to get video from gallery and want to display them in grid view and inside container and then on save button want to upload it to firebase firestore. Firstly, I am not able get the videos from gallery and display it in UI. I have seen…
GAGAN SINGH
  • 261
  • 2
  • 17
1
vote
0 answers

Is it possible to get video frame by frame using video_player in flutter?

I am working on one of the flutter applications where I want to fetch a video frame by frame using the video_player plugin. Is this possible to do so? or is there any other way for the same.
1
vote
1 answer

How can I play different videos for each different SeassionCard in Flutter?

I want to play videos in each SeassionCards. Should I create different dart file for each video? Or, Is there a chance to bring videos by one by for every single buttons?
b s
  • 21
  • 6
1
vote
0 answers

Flutter video_player sound sometimes not in sync with video

I am having an issue with Flutter video_player where sometimes the video hangs and the sound is not in sync with the video. There is a delay of ~1 second between the video and sound. This only happens when playing certain videos, most videos are…
eric6685
  • 85
  • 1
  • 9