0

I'm currently using youtube_player_iframe to show YouTube video. I could show YouTube vids but this have an issue.

The issue is this; When I view a page that contains YoutubePlayerController, the next page stops working

Now, I gave up to use this. So I'm looking for other way. I searched but I could find only solution for iOS/Android or using youtube_player_iframe.

Beginner_
  • 645
  • 1
  • 11
  • 27
  • I asked something [similar](https://stackoverflow.com/q/68300558/10157127) , then while my UI priority was to have smooth scroll, I stopped playing on page-site. Another way but not solution could be hosting video on different site and playing video with `video_player`. – Md. Yeasin Sheikh Oct 15 '21 at 14:28
  • thank you. But I don't want to try this. Hosting videos can be expensive. YouTube and Flutter belong to Google, but why is it so annoying? XD – Beginner_ Oct 16 '21 at 14:28
  • Due to security restrictions with cross-origin iframe as much as I know. Hope they will resolve it soon. – Md. Yeasin Sheikh Oct 16 '21 at 16:25

0 Answers0