Questions tagged [flutter-video-player]

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

247 questions
0
votes
1 answer

How stop Video player when navigate(push) other screen

How to stop the video player when switching to another screen. I have a player and when I move across another screen the video doesn't stop and keeps running because it's still on the stack. I can't _chewieController.pause(); because my widget is in…
0
votes
1 answer

Flutter chewie and videoplayer issue. Even after disposing the controllers , the video still keeps playing in the background, also tried pausing video

Here is the code of my flutter app, I am facing a major issue that even after closing the widget that contains video player, making sure that dispose is being called , the video still keeps playing in the background don't know this issue is related…
0
votes
1 answer

Flutter ExoPlayer error : UnknownHostException (no network), Playbackerror, source null

I'm getting the following error when attempting to parse a video from my backend on my flutter app. The media gets stored in the the temporary location successfully using initial upload codes but fails to fetch it in these particular lines…
Earthling
  • 83
  • 3
  • 13
0
votes
1 answer

How to make Flutter video player only start streaming after user tap play?

I am trying Flutter video_player with chewie. I have tried both examples provided in: https://pub.dev/packages/video_player/example https://pub.dev/packages/chewie/example Both work fine. Yet, even when the user does not tap on the screen, the…
Miguel Gamboa
  • 8,855
  • 7
  • 47
  • 94
0
votes
0 answers

How to get smooth scrolling without taking time in loading video in tik tok clone app in flutter

Here is my code first of all I make list of all videos Info and urls and then make list view of video player and pass these urls one by one to video player of each video according to their index in the list. this is video urls array List
0
votes
0 answers

How to play a File video on Flutter web?

I ave a Flutter app that communicates with a backend python server using websockets. Essentially the app sends a video to the server, the backend does some ML stuff and sends back an mp4 file as a Uint8List. I'm converting that list into a List then…
0
votes
1 answer

I used flutter_vlc_player package for Rtsp camera preview Running fine in Android but getting error in macos. Is support this package for macos?

it's my code import 'package:flutter/material.dart'; import 'package:flutter_vlc_player/flutter_vlc_player.dart'; class IPCameraScreen extends StatefulWidget { final String url; const IPCameraScreen({Key? key, required this.url}) : super(key:…
0
votes
0 answers

How to play two videos simultaneously, one in the foreground and the other in the background in flutter web

I want to play two videos simultaneously in flutter web, one video must play in the foreground and one in the background and I want to switch between them and the videos shouldn't pause. I am able to achieve this in Android using the mixWithOthers…
Shri Hari
  • 21
  • 2
0
votes
0 answers

How to save thumbnails of videos at different positions in Flutter

I am using video_player package from flutter for displaying a video from url. The url is "https://storage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4". There is button for taking screenshot of the different positions of the video…
viki
  • 404
  • 3
  • 14
0
votes
1 answer

The animation video_player flutter is not displayed

When I am running current code... I get this error: UnimplementedError (UnimplementedError: init() has not been implemented.) In phone all very slowdown show on display, but errors not found! Code: final videos = [ …
0
votes
1 answer

VideoPlayer won't initialize properly flutter

I'm trying to build a listview that shows a videoplayer when the "video" parameter is not null. Although i've been succeeded displaying the videoPlayer, the video seems to not initialize properly, it shows a black container and only initialize if i…
0
votes
0 answers

Flutter PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)

when i try to play this video using this url "https://delivery517.akamai-video-content.com/hls2/01/01760/fgesr7u3hfzl_n/index-v1-a1.m3u8?t=TmRywG1Pi65jbfXWoVSj-k-gvBc8mG1onwqKjcn1gY8&s=1683131305&e=10800&f=8802758&srv=sto088&client=202.142.121.85"…
Omega500
  • 55
  • 5
0
votes
0 answers

Enable Full Screen in Flutter Web Video Player using any Browser

I have written a code for playing video in my Flutter Web application and it is playing the video in regular screen. Now I want to play it in full screen. I have already tried different methods suggested here but nun of them is working. Please…
0
votes
1 answer

How to get rid of video player logging details in flutter?

I am using https://pub.dev/packages/video_player for the video playback in my flutter app and flutter_bloc to manage the state of the application. When I load the video player screen, I get thousands to unwanted log messages in my VS Code terminal,…
0
votes
0 answers

Video player of flutter has stuttering

I use video_player(2.6.1). The video display stutters on my device so that the sound plays earlier than the picture. Flutter version is 3.7.9. Android SDK version 33.0.0 The device information is as follows: Samsung GalaxyA01/ Android version…