{"id":19694582,"url":"https://github.com/vaneves/angular-chromecast-sender-video","last_synced_at":"2026-03-03T16:01:15.923Z","repository":{"id":146044685,"uuid":"50472607","full_name":"vaneves/angular-chromecast-sender-video","owner":"vaneves","description":"AngularJS Module to send videos to Google Chromecast","archived":false,"fork":false,"pushed_at":"2016-01-27T02:09:11.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T12:42:32.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaneves.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-27T01:34:20.000Z","updated_at":"2017-03-23T13:48:38.000Z","dependencies_parsed_at":"2023-04-21T10:44:24.856Z","dependency_job_id":null,"html_url":"https://github.com/vaneves/angular-chromecast-sender-video","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vaneves/angular-chromecast-sender-video","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Fangular-chromecast-sender-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Fangular-chromecast-sender-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Fangular-chromecast-sender-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Fangular-chromecast-sender-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaneves","download_url":"https://codeload.github.com/vaneves/angular-chromecast-sender-video/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaneves%2Fangular-chromecast-sender-video/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30051087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-11T19:23:37.005Z","updated_at":"2026-03-03T16:01:15.878Z","avatar_url":"https://github.com/vaneves.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-chromecast-sender-video\n\n## Usage\n\n```javascript\n\tangular.module('myapp', ['vaneves.chromecast-sender-video'])\n\tangular.constant('RECEIVER_APP_ID', 'MY_PLAYER_ID'); //use null to default player\n```\n\n```javascript\n\tangular.controller('MyCtrl', function ($scope, ChromecastSenderVideo) {\n\t\t$scope.connect = function () {\n\t\t\tChromecastSenderVideo.init();\n\t\t};\n\n\t\t$scope.close = function () {\n\t\t\tChromecastSenderVideo.close();\n\t\t};\n\n\t\t$scope.load = function(video) {\n\t\t\tChromecastSenderVideo.load(video.url, video.title, video.image);\n\t\t};\n\n\t\t$scope.resume = function() {\n\t\t\tif(ChromecastSenderVideo.isPlaying()) {\n\t\t\t\tChromecastSenderVideo.pause();\n\t\t\t} else {\n\t\t\t\tChromecastSenderVideo.play();\n\t\t\t}\n\t\t};\n\n\t\t$scope.stop = function () {\n\t\t\tChromecastSenderVideo.stop();\n\t\t};\n\n\t\t$scope.back = function (seconds) {\n\t\t\tvar position = $scope.timer.estimated - seconds;\n\t\t\tChromecastSenderVideo.seek(position);\n\t\t};\n\n\t\t//events\n\t\tChromecastSenderVideo.on('connect', function () {\n\t\t\t//on connect\n\t\t});\n\t\tChromecastSenderVideo.on('close', function () {\n\t\t\t//on close\n\t\t});\n\n\t\t$scope.timer = {\n\t\t\testimated: 0, //current time in seconds\n\t\t\tduration: 0, //total time in seconds\n\t\t\tpercentage: 0 //current time in percent\n\t\t}\n\t\tChromecastSenderVideo.on('timer', function (timer) {\n\t\t\t$scope.timer = timer;\n\t\t\t//on update video timer\n\t\t});\n\n\t\tChromecastSenderVideo.on('error', function (e) {\n\t\t\tconsole.log('error:', e);\n\t\t\t//on error\n\t\t});\n\t\tChromecastSenderVideo.on('init', function () {\n\t\t\t//on init\n\t\t});\n\n\t\tChromecastSenderVideo.on('load', function () {\n\t\t\t//on video load\n\t\t});\n\t\tChromecastSenderVideo.on('play', function () {\n\t\t\t//on play\n\t\t});\n\t\tChromecastSenderVideo.on('pause', function () {\n\t\t\t//on pause\n\t\t});\n\t\tChromecastSenderVideo.on('stop', function () {\n\t\t\t//on stop\n\t\t});\n\t\tChromecastSenderVideo.on('seek', function () {\n\t\t\t//on seek time\n\t\t});\n\t});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneves%2Fangular-chromecast-sender-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaneves%2Fangular-chromecast-sender-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaneves%2Fangular-chromecast-sender-video/lists"}