A flutter plugin that plays twitch live streams using InAppWebview under the hood.
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
TwitchPlayerIFrame(channel: "channel name", controller: TwitchController())
- play
- pause
- mute
- unmute
- fullscreen
Only tested on android.