Mohammed2 Hamdan2
Mohammed2 Hamdan2

Reputation: 51

does it legal to display YouTube videos in my flutter app

i have found this plugin youtube_player_flutter but i am wondering if it legal or not before i get dive into it i need to know if it legal and appstore , google play will not reject my app or not ..

YoutubePlayerController _controller = YoutubePlayerController(
    initialVideoId: 'iLnmTe5Q2Qw',
    flags: YoutubePlayerFlags(
        autoPlay: true,
        mute: true,
    ),
);

YoutubePlayer(
    controller: _controller,
    showVideoProgressIndicator: true,
    videoProgressIndicatorColor: Colors.amber,
    progressColors: ProgressColors(
        playedColor: Colors.amber,
        handleColor: Colors.amberAccent,
    ),
    onReady () {
        _controller.addListener(listener);
    },
),

any answer guys would be grateful

Upvotes: 1

Views: 1149

Answers (1)

Priyanka Rawat
Priyanka Rawat

Reputation: 413

A few link you can play using the package. I've used it and published in App & Play Store. But if you allow search and play and more functionalities like Youtube, You have high chance of your app getting rejected by Google/Apple (as mentioned in the comment you should see that thread).

Upvotes: 3

Related Questions