{"action":"created","issue":{"url":"https://api.github.com/repos/brianegan/chewie/issues/224","repository_url":"https://api.github.com/repos/brianegan/chewie","labels_url":"https://api.github.com/repos/brianegan/chewie/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/brianegan/chewie/issues/224/comments","events_url":"https://api.github.com/repos/brianegan/chewie/issues/224/events","html_url":"https://github.com/brianegan/chewie/issues/224","id":515172486,"node_id":"MDU6SXNzdWU1MTUxNzI0ODY=","number":224,"title":"Sample code doesn't work","user":{"login":"daohoangson","id":239336,"node_id":"MDQ6VXNlcjIzOTMzNg==","avatar_url":"https://avatars3.githubusercontent.com/u/239336?v=4","gravatar_id":"","url":"https://api.github.com/users/daohoangson","html_url":"https://github.com/daohoangson","followers_url":"https://api.github.com/users/daohoangson/followers","following_url":"https://api.github.com/users/daohoangson/following{/other_user}","gists_url":"https://api.github.com/users/daohoangson/gists{/gist_id}","starred_url":"https://api.github.com/users/daohoangson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daohoangson/subscriptions","organizations_url":"https://api.github.com/users/daohoangson/orgs","repos_url":"https://api.github.com/users/daohoangson/repos","events_url":"https://api.github.com/users/daohoangson/events{/privacy}","received_events_url":"https://api.github.com/users/daohoangson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-10-31T05:20:07Z","updated_at":"2019-10-31T07:38:19Z","closed_at":null,"author_association":"NONE","body":"The player stopped working in my app so I created a new app from scratch and uses the sample code in the README. It does not work (keeps spinning).\r\n\r\n### flutter doctor -v\r\n\r\n```\r\n[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G103, locale\r\n    en-VN)\r\n    • Flutter version 1.9.1+hotfix.6 at /Users/xxx/repos/flutter\r\n    • Framework revision 68587a0916 (7 weeks ago), 2019-09-13 19:46:58 -0700\r\n    • Engine revision b863200c37\r\n    • Dart version 2.5.0\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)\r\n    • Android SDK at /Users/xxx/Library/Android/sdk\r\n    • Android NDK location not configured (optional; useful for native profiling\r\n      support)\r\n    • Platform android-28, build-tools 28.0.3\r\n    • ANDROID_HOME = /Users/xxx/Library/Android/sdk\r\n    • Java binary at: /Users/xxx/Library/Application\r\n      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5791312/Android\r\n      Studio.app/Contents/jre/jdk/Contents/Home/bin/java\r\n    • Java version OpenJDK Runtime Environment (build\r\n      1.8.0_202-release-1483-b49-5587405)\r\n    • All Android licenses accepted.\r\n\r\n[✓] Xcode - develop for iOS and macOS (Xcode 11.1)\r\n    • Xcode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 11.1, Build version 11A1027\r\n    • CocoaPods version 1.7.2\r\n\r\n[✓] Android Studio (version 3.5)\r\n    • Android Studio at /Users/xxx/Library/Application\r\n      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5791312/Android\r\n      Studio.app/Contents\r\n    • Flutter plugin version 36.0.1\r\n    • Dart plugin version 183.6270\r\n    • Java version OpenJDK Runtime Environment (build\r\n      1.8.0_202-release-1483-b49-5587405)\r\n\r\n[✓] VS Code (version 1.39.2)\r\n    • VS Code at /Applications/Visual Studio Code.app/Contents\r\n    • Flutter extension version 3.5.1\r\n\r\n[✓] Connected device (1 available)\r\n    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API\r\n      28) (emulator)\r\n\r\n• No issues found!\r\n```\r\n\r\n### pubspec.yaml\r\n\r\n```yaml\r\n  chewie: ^0.9.8+1\r\n  video_player: ^0.10.2+5\r\n```\r\n\r\n### main.dart\r\n\r\n```dart\r\nimport 'package:flutter/material.dart';\r\nimport 'package:chewie/chewie.dart';\r\nimport 'package:video_player/video_player.dart';\r\n\r\nvoid main() => runApp(MyApp());\r\n\r\nclass MyApp extends StatelessWidget {\r\n  @override\r\n  Widget build(BuildContext _) => MaterialApp(\r\n        home: Scaffold(\r\n          appBar: AppBar(title: Text('chewie')),\r\n          body: Chewie(\r\n            controller: ChewieController(\r\n              videoPlayerController: VideoPlayerController.network(\r\n                'https://www.w3schools.com/html/mov_bbb.mp4',\r\n              ),\r\n              aspectRatio: 3 / 2,\r\n              autoPlay: true,\r\n              looping: true,\r\n              showControls: true,\r\n            ),\r\n          ),\r\n        ),\r\n      );\r\n}\r\n```\r\n\r\nAndroid logcat doesn't have any useful info. "},"comment":{"url":"https://api.github.com/repos/brianegan/chewie/issues/comments/548249637","html_url":"https://github.com/brianegan/chewie/issues/224#issuecomment-548249637","issue_url":"https://api.github.com/repos/brianegan/chewie/issues/224","id":548249637,"node_id":"MDEyOklzc3VlQ29tbWVudDU0ODI0OTYzNw==","user":{"login":"mcxinyu","id":9566116,"node_id":"MDQ6VXNlcjk1NjYxMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/9566116?v=4","gravatar_id":"","url":"https://api.github.com/users/mcxinyu","html_url":"https://github.com/mcxinyu","followers_url":"https://api.github.com/users/mcxinyu/followers","following_url":"https://api.github.com/users/mcxinyu/following{/other_user}","gists_url":"https://api.github.com/users/mcxinyu/gists{/gist_id}","starred_url":"https://api.github.com/users/mcxinyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcxinyu/subscriptions","organizations_url":"https://api.github.com/users/mcxinyu/orgs","repos_url":"https://api.github.com/users/mcxinyu/repos","events_url":"https://api.github.com/users/mcxinyu/events{/privacy}","received_events_url":"https://api.github.com/users/mcxinyu/received_events","type":"User","site_admin":false},"created_at":"2019-10-31T07:38:19Z","updated_at":"2019-10-31T07:38:19Z","author_association":"NONE","body":"`SSL_connect error 5, errno=111`\r\n\r\nI think it may be caused by network abnormality."}}
{"actor":{"display_login":"mcxinyu"}}