A player for ApolloTV, written in Dart for the Flutter framework.
Add the following to Info.plist
in /ios/Runner/
:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Add the following to AndroidManifest.xml
if it's not already present.
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
- Import
cplayer
as a dependency. - Push a new instance to the
Navigator
stack:
Navigator.push(
context,
MaterialPageRoute(builder: (context) => CPlayer(
url: "https://...."
))
);