sarbagyastha / youtube_player_flutter

A Flutter plugin for inline playback or streaming of YouTube videos using the official iFrame Player API.
https://youtube.sarbagyastha.com.np
BSD 3-Clause "New" or "Revised" License
708 stars 820 forks source link

Buffering issue #320

Open akhilgite opened 4 years ago

akhilgite commented 4 years ago

Describe the bug When I open this player, I am getting loading screen for lot of time. It takes a lot of time to buffer even if I have high speed internet network.

To Reproduce Run the application on mobile data or weak network.

Expected behavior If it is based on youtube player then it should work like youtube

prashantspandey commented 4 years ago

facing the same issue with some devices.

akhilgite commented 4 years ago

Also, if the video is playing in normal screen so after clicking on full screen it stops playing. I have uploaded a video of my application, can you please check the video resolve this issue. It's hampering my production user's a lot.

https://drive.google.com/file/d/1alPzY48P5yUa_wlN1tOO0MAz6EnHWM-o/view?usp=sharing

akhilgite commented 4 years ago

@sarbagyastha Sir, I am waiting for your reply. Request you to look into this issue. I need your urgent help.

sarbagyastha commented 4 years ago

@akhilgite Have been busy lately so migration of the package to use youtube_player_iframe is being delayed. If the issue is hampering your production app then i suggest you to use youtube_player_iframe, for now.

akhilgite commented 4 years ago

@sarbagyastha How I can disable to share button from youtube_player_iframe?

sarbagyastha commented 4 years ago

@akhilgite There hideTopMenu() method for controller. You can find it being used in the example app.

akhilgite commented 4 years ago

I am already calling this method and its working fine in the mobile app but I can see the top menu while running application on emulator.

akhilgite commented 4 years ago

PFA Screen shot

Screenshot 2020-08-06 at 4 27 00 PM