Questions tagged [flutter-video-player]

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

247 questions
1
vote
1 answer

Video player with cache issue using git link

I am using video player with git link to download externally in my flutter project and i did this: video_player: git: url: ssh://github.com/sanekyy/plugins.git ref: caching path:…
1
vote
1 answer

Flutter - How to play Instagram videos in your flutter app?

So I created a video player in my flutter app just like Instagram reels using the video_player: ^2.4.5 package. Everything's fine but I don't want to store all the reels in my firebase storage because it can cost me a lot. So is there a way to just…
1
vote
0 answers

How to load and show a video file flutter web

I want to show a video in my website developed using flutter web, what the solution for this problem? Note: Using video_player package doesn't work for file. VideoPlayerController.file() not implemented for flutter web. Thx for help!
1
vote
0 answers

Flutter better_player: How to load all video from local assets folder

I cannot find a way to do this with their docs, I want to load all video files into playlist but i cannot find a way to call it. How can i call all the video files in "${directory?.path}/$fileName"; and put it into a playlist. import…
GIN
  • 51
  • 6
1
vote
1 answer

How can I get my flutter video player to work for Chrome Web, correctly

I am getting videoplayer overflow. How do I resize my video player, so it correctly works. Error message "A RenderFlex overflowed by 93 pixels on the right" during window resizing. import 'package:flutter/material.dart'; import…
1
vote
0 answers

Playing local videos in Flutter

I tried two packages to manage this (video player & native_video_view) problem. When i use network videos my code working well. First im downloading media file from app. Than im uploading same file and creating a thumbnail for that video. When i…
demonjoseph
  • 211
  • 1
  • 3
  • 10
1
vote
1 answer

Flutter: youtube_player_flutter Unable to fetch the metadata

How can I fetch the video metadata? I'm using youtube_player_flutter When I start the app the video play correctly but the metadata like the 'author' or the 'title' always start at 'null'. Only when I 'Hot Reload' the app they are initialize with…
1
vote
0 answers

flutter_vlc_player lag when calling mediaPlayer.stop() on android native

I'm using flutter_vlc_player for video playback on Android and ios. When I dispose the player controller, it cause jank for a few frames. When I debug the native android code, I see that mediaPlayer.stop() in void dispose() took about 40ms to…
dante
  • 984
  • 3
  • 10
  • 24
1
vote
0 answers

Flutter video_player exoplayer version

Is it possible to change exoplayer version used by video_player in Flutter? I tried to change it from build.gradle of video_player library but I got many errors in exoplayer's Java files.
1
vote
1 answer

Change mouse cursor on hovers over a VideoPlayer object in flutter web

In order to change the cursor on hovering over certain widgets, I've been using MouseRegion which works perfectly in combination with different child widgets. However, it doesn't work when it comes to VideoPlayer as its child. What I want, is to…
mhr
  • 144
  • 3
  • 12
1
vote
0 answers

Get aspect ratio video from network is incorrect in Ios

I used video_player package to play video from network. In android, everything is okay. But in ios, both aspect ratio of video, width and height seem to get incorrect. How to get correct aspect ratio of video? Thank in advance!
Chung
  • 146
  • 10
1
vote
0 answers

Flutter video_player in android tv some videos(Streams) became green

I am trying to make tv channel streaming app. Most channels works. but some of them always became green or stretched like in the image. one of broke channel but this is not happening in mobile phones only android tv. even android that has api 19 or…
1
vote
1 answer

How to show circular indicator on flutter chewie player on network loss

I am working on a project where I am using flutter chewie player for playing videos. But when there is no network (or when I turned off the internet), it is showing an error as: VideoError, Video player had error…
Akash
  • 89
  • 13
1
vote
1 answer

Volume Gesture lagging pre loaded multiple video

There are similar answers to the above question to use preload_page_view package but I am facing issues with it. I tried two below methods with and without package with package: return Scaffold( body: PreloadPageView.builder( …
1
vote
0 answers

How to check remote broadcast and fix error with videoplayer chewie in Flutter?

My English is not very good, I have prepared an application to watch TV broadcasts with IP, broadcasts are coming, there is no problem, I watch the broadcast, when I switch to another broadcast, it crashes on the broadcast that does not come. I want…