{"id":17228941,"url":"https://github.com/rakeshup/youtube-widget","last_synced_at":"2025-07-14T01:13:56.380Z","repository":{"id":191793069,"uuid":"213607082","full_name":"RakeshUP/youtube-widget","owner":"RakeshUP","description":"A chrome extension to control media playing in any YouTube™ tab","archived":false,"fork":false,"pushed_at":"2019-10-13T06:05:45.000Z","size":27,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T15:52:24.736Z","etag":null,"topics":["chrome-extension-react","content-scripts","extension-port","mutation-observer","popup-script"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/hmmageicpcbobjedojoecplfincecdcb","language":"JavaScript","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/RakeshUP.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,"governance":null}},"created_at":"2019-10-08T09:55:10.000Z","updated_at":"2021-10-28T04:13:25.000Z","dependencies_parsed_at":"2023-08-31T19:17:19.189Z","dependency_job_id":null,"html_url":"https://github.com/RakeshUP/youtube-widget","commit_stats":null,"previous_names":["rakeshup/youtube-widget"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakeshUP%2Fyoutube-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakeshUP%2Fyoutube-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakeshUP%2Fyoutube-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RakeshUP%2Fyoutube-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RakeshUP","download_url":"https://codeload.github.com/RakeshUP/youtube-widget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809040,"owners_count":21164893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chrome-extension-react","content-scripts","extension-port","mutation-observer","popup-script"],"created_at":"2024-10-15T04:45:30.970Z","updated_at":"2025-04-14T01:41:36.099Z","avatar_url":"https://github.com/RakeshUP.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTube Widget\nWidget to control media playing in any YouTube™ tab\n\nFeatures:\n * Click on the song name to directly go the tab\n * Quickly play/pause or skip to next video\n * Seek the video to any point using the seek bar\n * Open a YouTube tab right from the Chrome toolbar\n \n## Chrome Web Store \n[https://chrome.google.com/webstore/detail/youtube-widget/hmmageicpcbobjedojoecplfincecdcb](https://chrome.google.com/webstore/detail/youtube-widget/hmmageicpcbobjedojoecplfincecdcb)\n\n## Documentation\nThis extension makes use of HTML5 video player's APIs to control the media played, runtime ports to pass messages and a popup page written in react.js to give users the control.\nThe various files present are:\n* `contentScript.js`: has a mutation observer to listen to track name changes in YouTube tab and also manipulates DOM to control the media\n* `tabController.js`: is tied to the extension and forwards messages to contentScript\n* `popupScript.js`: sends a message to popupController when user performs any action in the popup page\n* `popupController.js`: is tied to the extension and forwards messages from popup page to tabController\n* `background.js`: contains the state of the media, port sink and acts as a bridge between content scripts and popup script\n* `index.js`: contains the React components which renders the widget in the popup page\n\n## Development\n```\n# clone\n$ git clone https://github.com/RakeshUP/youtube-widget.git\n\n# install the dependencies\n$ npm install\n\n# to build run this command from the root directory\n$ npm run-script build\n```\n\n## License\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakeshup%2Fyoutube-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakeshup%2Fyoutube-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakeshup%2Fyoutube-widget/lists"}