How to play YouTube videos in google chromecast from Flutter application?
Asked Answered
I

1

6

My Flutter application has some YouTube video links. Those YouTube links, i would like to stream through google chromecast. I have seen some video stream casting using the below flutter libraries.

But those libraries are playing MP4 format video streaming. So i am searching for the way to play YouTube videos though flutter application in chromecast.

Please someone suggest me if there is any code clues for this.

Ironworker answered 19/6, 2020 at 17:47 Comment(0)
E
3

We had the same challenge, and we searched high and low. Finally found this solution to make it work: https://pub.dev/packages/dart_chromecast

Make sure your flutter compiler is downgraded to 13 or below. Otherwise, you will not be able to compile. Unfortunately, their code is not supported in a newer version of the flutter compiler and the author is not going to update anytime soon.

Essieessinger answered 30/6, 2021 at 12:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.