{"id":20804561,"url":"https://github.com/basgrani-org/bas-meteor-jwplayer","last_synced_at":"2026-04-24T14:36:14.774Z","repository":{"id":74047259,"uuid":"65207887","full_name":"Basgrani-Org/bas-meteor-jwplayer","owner":"Basgrani-Org","description":"Integrate a CDN hosted version of JWPlayer using your own license.","archived":false,"fork":false,"pushed_at":"2018-09-30T21:13:29.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-20T01:52:50.225Z","etag":null,"topics":["javascript","jwplayer","meteor"],"latest_commit_sha":null,"homepage":null,"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/Basgrani-Org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2016-08-08T13:48:50.000Z","updated_at":"2018-09-30T21:13:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"87611e82-4401-449d-b243-2bc80ca88ceb","html_url":"https://github.com/Basgrani-Org/bas-meteor-jwplayer","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"400c0543fa787f7bdcb1e23b19056e58b6be9a9e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basgrani-Org%2Fbas-meteor-jwplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basgrani-Org%2Fbas-meteor-jwplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basgrani-Org%2Fbas-meteor-jwplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basgrani-Org%2Fbas-meteor-jwplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Basgrani-Org","download_url":"https://codeload.github.com/Basgrani-Org/bas-meteor-jwplayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243149120,"owners_count":20244122,"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":["javascript","jwplayer","meteor"],"created_at":"2024-11-17T19:10:03.527Z","updated_at":"2025-12-24T14:28:41.480Z","avatar_url":"https://github.com/Basgrani-Org.png","language":"JavaScript","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=9EARMSN5WMDDY"],"categories":[],"sub_categories":[],"readme":"# JWPlayer for Meteor (v1.4.3+)\n\n[![Donate to this project using Paypal](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=9EARMSN5WMDDY)\n\nIntegrate a CDN hosted version of JWPlayer using your own license.\n\nNOTE: This version only works with JWPlayer v7\n\n## Install\n\n```\nmeteor npm install bas-meteor-jwplayer\n```\n\n## Setup\n\nLoad globally:\n\n```js\nimport { JWPlayer } from 'bas-meteor-jwplayer';\n\nJWPlayer.load('YOUR_KEY_HERE');\n```\n\nOr only on specific routes:\n\n```js\nimport { JWPlayer } from 'bas-meteor-jwplayer';\n\n// Iron Router\nRouter.onBeforeAction(function() {\n  JWPlayer.load('YOUR_KEY_HERE');\n  this.next();\n}, { only: ['route1', 'route2'] });\n```\n\n```js\nimport { JWPlayer } from 'bas-meteor-jwplayer';\n\n// Flow Router\nFlowRouter.triggers.enter([JWPlayer.load('YOUR_KEY_HERE')], {\n  only: ['route1', 'route2']\n});\n```\n\n## Config\n\nTemplate HTML\n\n```html\n\u003ctemplate name=\"myTemplate\"\u003e\n  \u003cdiv id=\"player\"\u003e\u003c/div\u003e\n\u003c/template\u003e\n```\n\nTemplate JS\n\n```js\nimport { JWPlayer } from 'bas-meteor-jwplayer';\n\n// use JWPlayer.loaded() to reactively check that the lib is ready\nTemplate.myTemplate.onRendered(function() {\n  this.autorun(function() {\n    if (JWPlayer.loaded) {\n      jwplayer('player').setup({\n        file: 'http://example.com/my-video.mp4',\n        width: '100%',\n        aspectratio: '16:9',\n        autostart: true\n      });\n    }\n  });\n});\n```\n\n## Resources\n\n- [JWPlayer Homepage](http://www.jwplayer.com/)\n- [JWPlayer Support/Docs](http://support.jwplayer.com/)\n- [JWPlayer Javascript API](http://support.jwplayer.com/customer/portal/topics/564475-javascript-api/articles)\n\n## Backers\n\n### Maintainers\n\nThese amazing people are maintaining this project:\n\n- [Basgrani](http://basgrani.com) - [view contributions](https://github.com/Basgrani-Org/bas-meteor-jwplayer/commits?author=Basgrani)\n\n### Sponsors\n\nNo sponsors yet! Will you be the first?\n\n[![Donate to this project using Paypal](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=9EARMSN5WMDDY)\n\n### Contributors\n\nThese amazing people have contributed code to this project:\n\n- [Basgrani](http://basgrani.com) - [view contributions](https://github.com/Basgrani-Org/bas-meteor-jwplayer/commits?author=Basgrani)\n\n### Contribute\n\nIf you wish you can contribute to the development of this project:\n\n- Contribute with your code\n\n- [Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=9EARMSN5WMDDY)\n\n## License\n\n- View the [LICENSE](https://github.com/Basgrani-Org/bas-meteor-jwplayer/blob/master/LICENSE.md)\n\n## Contact\n\n- dev@basgrani.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasgrani-org%2Fbas-meteor-jwplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasgrani-org%2Fbas-meteor-jwplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasgrani-org%2Fbas-meteor-jwplayer/lists"}