Questions tagged [youtube-player-flutter]
40 questions
8
votes
1 answer
Screen become black in flutter youtube player
I am using youtube_player_flutter: ^7.0.0+7 to display youtube videos in my flutter app. When users play videos, the screen becomes black and sound of video continues. Users are unable to watch videos.
They only listen to it.
The problem occurs in…

Student
- 341
- 1
- 2
- 12
7
votes
1 answer
Mouse scroll stuck while cursor is on top of youtube_player_iframe
Mouse scroll stuck on top of video. I'm using youtube_player_iframe. Also, I don't want to rebuild the iframe widget. I tried to wrap it with pointer_interceptor but it didn't solve the problem. My first priority is to solve the scroll issue and…

Md. Yeasin Sheikh
- 54,221
- 7
- 29
- 56
4
votes
0 answers
Flutter Web (3.7.5) - Height/Width of Platform View Type - youtube_player_iframe
I have been using the youtube_player_iframe package for my web project, and have been trying to understand and fix the below:
Height of Platform View type: [youtube-0] may not be set. Defaulting to `height: 100%`.
Set `style.height` to any…

FoxDonut
- 252
- 2
- 14
2
votes
0 answers
youtube video player flutter/ initialVideoId/
I have a String type key assigned as variable for Youtube video player. The later requires String Type initialVideoId and when I try to use my variable as initialVideoId, it keeps saying type 'int' is not a subtype of 'String'.
I double checked my…

ZinThantWin
- 21
- 2
2
votes
0 answers
updateAcquireFence: Did not find frame. Flutter
I am using youtube_player_iframe: ^4.0.1 this package for youtube video in my app. I have following error "updateAcquireFence: Did not find frame. Flutter" and also not able to play video. After some minutes it shows thumbnail in screen but when I…

Taki Rajani
- 177
- 12
2
votes
1 answer
Block video recording during execution of flutter app
I have a flutter application which uses youtube_player_flutter: ^7.0.0+7 to play YouTube videos. This is an educational app and I don't want anyone to record my video lectures through any screen recorder. Is there anything I can do to block users…

Student
- 341
- 1
- 2
- 12
1
vote
0 answers
youtube_player_flutter: ^8.1.1 Full screen is not working
I am fetching the data from Youtube via links with youtube_player_flutter: ^8.1.1 package. all functions are working good but when I click on full screen button so its stucked and video are stopped. (Access denied finding property…

Taki Rajani
- 177
- 12
1
vote
2 answers
A status bar is hidden when it comes back to portrait mode from landscape mode in the youtube player flutter through a full-screen button press
When you press the full-screen button of the youtube player it goes to landscape mode when you press it again it's come back to portrait mode but the status bar hides permanently throughout the app.
If anyone knows how to show the status…

iParesh
- 2,338
- 1
- 18
- 30
1
vote
1 answer
_youtubeController.close() in dispose doesn't work as expected
I'm using youtube_player_iframe package for flutter web. The issue I'm facing is that if I start playing a youtube video and then go to another screen, the video is still playing in the background.
I've included the dispose and close of the…

Edmond
- 72
- 6
1
vote
2 answers
youtube_player_flutter stuck in infinite loading flutter
I'm trying to add some youtube videos to my flutter webpage, but the video is stuck in infinite loading.
I am using:
youtube_player_flutter: ^8.1.0
Here is the class I'm using to add a youtube video:
import 'package:flutter/material.dart';
import…

Edmond
- 72
- 6
1
vote
1 answer
How to use youtube_player_flutter with ListView builder?
I'm using the youtube_player_flutter package to play youtube embedded videos. I'm facing problems with the package. I tried almost everything as per my understanding using init method, function to assign the controller, etc none…

Shakun's
- 354
- 4
- 15
1
vote
0 answers
How to Custom value YoutubePlayerFlags in youtube_player_flutter library when we click on button?
I have a problem custom YoutubePlayerFlags every time a button clicked . I want when the button is pressed, its change the value of YoutubePlayerFlags , is it possible ? if possible, how to do it?
this is my View
import 'dart:developer';
import…

Sahid rahutomo
- 90
- 10
1
vote
0 answers
youtube_player_flutter Playback Speed in flutter
I am using youtube_player_flutter package for plating youtube videos in my flutter app. https://pub.dev/packages/youtube_player_flutter
I want to set custom playback Speed. In the documentation, changing playback rate is mentioned under features.…

Heet Kalaria
- 65
- 1
- 7
1
vote
2 answers
How to minimize Full Screen Flutter Youtube Player on mobile back button press?
When the flutter youtube player is full screen, and i pressing back button of mobile i want to minimize the youtube player so how can i do this?
My Flutter Youtube Player code as below.
class _VideoPlayerState extends State {
late…

Dhaval Chaudhari
- 417
- 8
- 22
1
vote
1 answer
How to keep the video resolution fixed in youtube video player in flutter?
I want to fix the video resolution to 240p manually in code. But how can I do it?
And how does actually playbackQuality work? Whenever I use playbackQuality, it does not show any properties. Is it to fix the video quality? I did not find any…

Ruman mahamud
- 41
- 5