{"_id":"videojs-vimeo","_rev":"9-addfca7a3f5e5324d699b9bba7d9b49b","name":"videojs-vimeo","description":"Allows you to use Vimeo URL as source with Video.js.","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.2":{"name":"videojs-vimeo","version":"1.0.2","description":"Allows you to use Vimeo URL as source with Video.js.","main":"vjs.vimeo.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/eXon/videojs-vimeo.git"},"keywords":["video.js","vimeo","plugin"],"author":{"name":"Benoit Tremblay","email":"trembl.ben@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/eXon/videojs-vimeo/issues"},"homepage":"https://github.com/eXon/videojs-vimeo#readme","gitHead":"511dd25ef98a3fccfa2b50d7e3f92906423d63bd","_id":"videojs-vimeo@1.0.2","_shasum":"2dfc753f3c532a90a6a211962be2c02af1981c53","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"exon","email":"trembl.ben@gmail.com"},"dist":{"shasum":"2dfc753f3c532a90a6a211962be2c02af1981c53","tarball":"https://registry.npmjs.org/videojs-vimeo/-/videojs-vimeo-1.0.2.tgz","integrity":"sha512-r+X/4UnrkrwIOpJNOxUqEQT+t5GPzztydCOnJPa4TUkJS3nYwH6YmkUWPvImGpdwIBbj9LaL55uI9m838OuVkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICP9y/HygOlk7XLeYLzPecU22Z2WTwZ0h+GILE1+cEacAiBpFUQb4O5b41g/EcU9zd9P4ZN2QCryRsyDhWwLYjRZ8Q=="}]},"maintainers":[{"name":"exon","email":"trembl.ben@gmail.com"}]},"2.0.0":{"name":"videojs-vimeo","version":"2.0.0","description":"Allows you to use Vimeo URL as source with Video.js.","main":"src/Vimeo.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/eXon/videojs-vimeo.git"},"keywords":["video.js","vimeo","plugin"],"author":{"name":"Benoit Tremblay","email":"trembl.ben@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/eXon/videojs-vimeo/issues"},"homepage":"https://github.com/eXon/videojs-vimeo#readme","gitHead":"0c39f7913a8996931de2fc42b79263222592d372","_id":"videojs-vimeo@2.0.0","_shasum":"4d6fec55dc7042f12d8dfcd98c8b793f26da7008","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.1.2","_npmUser":{"name":"exon","email":"trembl.ben@gmail.com"},"dist":{"shasum":"4d6fec55dc7042f12d8dfcd98c8b793f26da7008","tarball":"https://registry.npmjs.org/videojs-vimeo/-/videojs-vimeo-2.0.0.tgz","integrity":"sha512-G1nr4ijKYz0y2k9RQiRdWP7BoLBC8tSdiq8Vs0PquHg/8DeB0J39Qq1Ze47hWdxkl665WzJFOP20Pm6YdMSxaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyAEVCG+EykTKYoYs56kRU/3b3KAnk0IsvQ6I1VNpaMgIhAN+Cwdaq7RqA7EUDrc1N531kmB+P5eFruzOWGyvPjHyu"}]},"maintainers":[{"name":"exon","email":"trembl.ben@gmail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/videojs-vimeo-2.0.0.tgz_1455617549751_0.08278514468111098"}},"2.0.1":{"name":"videojs-vimeo","version":"2.0.1","description":"Allows you to use Vimeo URL as source with Video.js.","main":"src/Vimeo.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/eXon/videojs-vimeo.git"},"keywords":["video.js","vimeo","plugin"],"author":{"name":"Benoit Tremblay","email":"trembl.ben@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/eXon/videojs-vimeo/issues"},"homepage":"https://github.com/eXon/videojs-vimeo#readme","gitHead":"edd76d7986ab73d3c37c6ce840d87a7d067848b8","_id":"videojs-vimeo@2.0.1","_shasum":"5d8b184760814fe1a47aad921b8601d4c49ad691","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.1.2","_npmUser":{"name":"exon","email":"trembl.ben@gmail.com"},"dist":{"shasum":"5d8b184760814fe1a47aad921b8601d4c49ad691","tarball":"https://registry.npmjs.org/videojs-vimeo/-/videojs-vimeo-2.0.1.tgz","integrity":"sha512-notUnwvPJEOZUEt4W3G8ppJtpE5qaut1odtCVEMhmv5ei6O3if95DoO+4kMGHC7xczb96/8WFG4TI7+TZ2cfnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlV8Fo8ta7iqD5Ys27yf6NkAHiYDYskx6I7Oet/llf5AiAtMb1JFDSj6ojfhC+qXQcHTFTEdRAWHni/tQvUcG+UHg=="}]},"maintainers":[{"name":"exon","email":"trembl.ben@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/videojs-vimeo-2.0.1.tgz_1457119175136_0.051852138014510274"}},"2.0.2":{"name":"videojs-vimeo","version":"2.0.2","description":"Allows you to use Vimeo URL as source with Video.js.","main":"src/Vimeo.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/eXon/videojs-vimeo.git"},"keywords":["video.js","vimeo","plugin"],"author":{"name":"Benoit Tremblay","email":"trembl.ben@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/eXon/videojs-vimeo/issues"},"homepage":"https://github.com/eXon/videojs-vimeo#readme","gitHead":"7ba3b78c81bf2b8131287bc0d1b1b1a330144ae1","_id":"videojs-vimeo@2.0.2","_shasum":"ea9ec1a631b075851321b11719d300ef958e867c","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.1.2","_npmUser":{"name":"exon","email":"trembl.ben@gmail.com"},"dist":{"shasum":"ea9ec1a631b075851321b11719d300ef958e867c","tarball":"https://registry.npmjs.org/videojs-vimeo/-/videojs-vimeo-2.0.2.tgz","integrity":"sha512-ZpWlgXhb2UpxyRknEiNr63mzPfx12t/Q/TJwzPliIjTXTwR0l1hv6rDKJmXBo/AZn9BUU2rGPDa/O3tYhWylTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLFhfAN6XOwqGyK+bjGfCLv2AcwSbNEiVKEk5ZnFLycgIgA5956WqAAFDxiG0+ZJZHJVfdMsvdXnffJmFGZr3F9VM="}]},"maintainers":[{"name":"exon","email":"trembl.ben@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/videojs-vimeo-2.0.2.tgz_1457121383396_0.4400992423761636"}}},"readme":"# Vimeo Playback Technology<br />for [Video.js](https://github.com/videojs/video.js)\n\n## Install\nYou can use bower (`bower install videojs-vimeo`), npm (`npm install videojs-vimeo`) or the source and build it using `npm run build`. Then, the only file you need is dist/Vimeo.min.js.\n\n## Version Note\nUse branch `vjs4` if you still using old VideoJS `v4.x`.\n\n## Example\n```html\n<!DOCTYPE html>\n<html>\n<head>\n  <link type=\"text/css\" rel=\"stylesheet\" href=\"../node_modules/video.js/dist/video-js.min.css\" />\n</head>\n<body>\n  <video\n    id=\"vid1\"\n    class=\"video-js vjs-default-skin\"\n    controls\n    autoplay\n    width=\"640\" height=\"264\"\n    data-setup='{ \"techOrder\": [\"vimeo\"], \"sources\": [{ \"type\": \"video/vimeo\", \"src\": \"https://vimeo.com/153979733\"}] }'\n  >\n  </video>\n\n  <script src=\"../node_modules/video.js/dist/video.min.js\"></script>\n  <script src=\"../dist/Vimeo.min.js\"></script>\n</body>\n</html>\n```\n\nSee the examples folder for more\n\n## How does it work?\nIncluding the script Vimeo.min.js will add the Vimeo as a tech. You just have to add it to your techOrder option. Then, you add the option src with your Vimeo URL.\n\nIt supports:\n- vimeo.com as well as youtu.be\n- Regular URLs: https://vimeo.com/153979733\n\n## Options\nIt supports every regular Video.js options. Additionally, you can change any [Vimeo parameter](https://developers.google.com/vimeo/player_parameters?hl=en#Parameters). Here is an example of setting the `iv_load_policy` parameter to `1`.\n\n```html\n<video\n  id=\"vid1\"\n  class=\"video-js vjs-default-skin\"\n  controls\n  autoplay\n  width=\"640\" height=\"264\"\n  data-setup='{ \"techOrder\": [\"vimeo\"], \"sources\": [{ \"type\": \"video/vimeo\", \"src\": \"https://vimeo.com/153979733\"}], \"vimeo\": { \"iv_load_policy\": 1 } }'\n>\n</video>\n```\n\n### Vimeo controls\nBecause `controls` is already a Video.js option, to use the Vimeo controls, you must set the `ytControls` parameter.\n\n```html\n<video\n  id=\"vid1\"\n  class=\"video-js vjs-default-skin\"\n  controls\n  autoplay\n  width=\"640\" height=\"264\"\n  data-setup='{ \"techOrder\": [\"vimeo\"], \"sources\": [{ \"type\": \"video/vimeo\", \"src\": \"https://vimeo.com/153979733\"}], \"vimeo\": { \"ytControls\": 2 } }'\n>\n</video>\n```\n\n##Special Thank You\nThanks to Steve Heffernan for the amazing Video.js and to John Hurliman for the original version of the Vimeo tech\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2014-2015 Benoit Tremblay <trembl.ben@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"email":"pgoneill@gmail.com","name":"misteroneill"},{"email":"me@gkatsev.com","name":"gkatsev"},{"email":"trembl.ben@gmail.com","name":"exon"}],"time":{"modified":"2022-06-28T17:07:27.313Z","created":"2015-09-27T13:57:48.592Z","1.0.2":"2015-09-27T13:57:48.592Z","2.0.0":"2016-02-16T10:12:33.963Z","2.0.1":"2016-03-04T19:19:38.702Z","2.0.2":"2016-03-04T19:56:26.887Z"},"homepage":"https://github.com/eXon/videojs-vimeo#readme","keywords":["video.js","vimeo","plugin"],"repository":{"type":"git","url":"git+https://github.com/eXon/videojs-vimeo.git"},"author":{"name":"Benoit Tremblay","email":"trembl.ben@gmail.com"},"bugs":{"url":"https://github.com/eXon/videojs-vimeo/issues"},"license":"MIT","readmeFilename":"README.md"}