Skip to content

ontwerpllc/flutter_twitch_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Twitch Player

A flutter plugin that plays twitch live streams using InAppWebview under the hood.

Getting started

Update gradle in android/build.gradle

dependencies {
classpath 'com.android.tools.build:gradle:7.0.0'
}

Update minSDK to 17 in android/app/build.gradle

defaultConfig {
    minSdkVersion 17
}

Update distributionUrl in android/gradle/gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

Usage

TwitchPlayerIFrame(channel: "channel name", controller: TwitchController())

TODO

  • play
  • pause
  • mute
  • unmute
  • fullscreen

Additional information

Only tested on android.

About

Flutter plugin for playing Twitch streams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published