{"id":24438423,"url":"https://github.com/sommye-ctr/video_cast","last_synced_at":"2026-02-28T10:34:33.688Z","repository":{"id":65338217,"uuid":"590183117","full_name":"sommye-ctr/video_cast","owner":"sommye-ctr","description":"Flutter plugin for casting videos on chromecast devices","archived":false,"fork":false,"pushed_at":"2024-08-02T06:54:42.000Z","size":961,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T19:53:49.848Z","etag":null,"topics":["cast","chromecast","dart","flutter"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sommye-ctr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-17T20:42:47.000Z","updated_at":"2024-09-19T10:02:55.000Z","dependencies_parsed_at":"2025-04-12T17:51:33.920Z","dependency_job_id":"48ae3937-3f46-4db2-a1cf-21d6cabf568f","html_url":"https://github.com/sommye-ctr/video_cast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sommye-ctr/video_cast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sommye-ctr%2Fvideo_cast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sommye-ctr%2Fvideo_cast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sommye-ctr%2Fvideo_cast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sommye-ctr%2Fvideo_cast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sommye-ctr","download_url":"https://codeload.github.com/sommye-ctr/video_cast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sommye-ctr%2Fvideo_cast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29930344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cast","chromecast","dart","flutter"],"created_at":"2025-01-20T19:16:14.013Z","updated_at":"2026-02-28T10:34:33.666Z","avatar_url":"https://github.com/sommye-ctr.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# video_cast\n\nFlutter plugin for casting videos on chromecast devices\n\nThis is a modified version of [flutter_video_cast](https://pub.dev/packages/flutter_video_cast_v2) with extra features\n\n## Installation\n\nFirst, add `video_cast` as a [dependency in your pubspec.yaml file](https://flutter.io/using-packages/).\n\n### Android\n\nAdd dependencies in your module (app-level) Gradle file (usually `android/app/build.gradle`):\n\n```groovy\nimplementation 'com.google.android.gms:play-services-cast-framework:21.2.0'\nimplementation 'com.google.android.exoplayer:extension-cast:2.17.1'\n```\n\nSet the theme of the MainActivity to `@style/Theme.AppCompat.NoActionBar` in the application manifest `android/app/src/main/AndroidManifest.xml`:\n\n```xml\n\u003cmanifest ...\n  \u003capplication ...\n    \u003cmeta-data android:name=\"com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME\"\n               android:value=\"com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider\"/\u003e\n    ...\n    \u003cactivity android:theme=\"@style/Theme.AppCompat.NoActionBar\" ...\n```\n\nMake `MainActivity` extends `FlutterFragmentActivity` and initialize the Cast context:\n\n```kotlin\nCastContext.getSharedInstance(applicationContext)\n```\n\n### Using ChromeCaastButton\n\nYou can now add a `ChromeCastButton` widget to your widget tree.\n\nThe button can be controlled with the `ChromeCastController` that is passed to\nthe `ChromeCastButton`'s `onButtonCreated` callback.\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:video_cast/video_cast.dart';\n\nvoid main() {\n  runApp(MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: CastSample(),\n    );\n  }\n}\n\n\nclass CastSample extends StatefulWidget {\n  @override\n  _CastSampleState createState() =\u003e _CastSampleState();\n}\n\nclass _CastSampleState extends State\u003cCastSample\u003e {\n  ChromeCastController _controller;\n\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      appBar: AppBar(\n        title: Text('Cast Sample'),\n        actions: [\n          ChromeCastButton(\n            onButtonCreated: (controller) {\n              setState(() =\u003e _controller = controller);\n              _controller?.addSessionListener();\n            },\n            onSessionStarted: () {\n                castController?.loadMedia(\n                url:\n                    \"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\",\n                position: 30000,\n                autoplay: true,\n                title: \"Spider-Man: No Way Home\",\n                description:\n                    \"Peter Parker is unmasked and no longer able to separate his normal life from the high-stakes of being a super-hero. When he asks for help from Doctor Strange the stakes become even more dangerous, forcing him to discover what it truly means to be Spider-Man.\",\n                image:\n                    \"https://terrigen-cdn-dev.marvel.com/content/prod/1x/marvsmposterbk_intdesign.jpg\",\n                type: ChromeCastMediaType.movie,\n              );\n            },\n          ),\n        ],\n      ),\n    );\n  }\n}\n```\n\nSee the `example` directory for a complete sample app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsommye-ctr%2Fvideo_cast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsommye-ctr%2Fvideo_cast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsommye-ctr%2Fvideo_cast/lists"}