{"_id":"videopopup","_rev":"1-ebf6b1e87088eabb4999acfa6351da51","name":"videopopup","description":"A jQuery plugin for opening Vimeo and Youtube videos in a modal window.","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.8":{"name":"videopopup","version":"0.0.8","repository":{"type":"git","url":"git@github.com/mrchimp/videopopup"},"devDependencies":{"grunt":"~0.4.1","grunt-autoprefixer":"^3.0.0","grunt-contrib-concat":"~0.5.0","grunt-contrib-csslint":"~0.2.0","grunt-contrib-jshint":"^0.10.0","grunt-contrib-less":"~0.9.0","grunt-contrib-uglify":"~0.2.2","grunt-contrib-watch":"~0.4.0","grunt-focus":"~0.1.1","jshint-stylish":"^1.0.0","time-grunt":"^1.0.0"},"gitHead":"68499b3a4dae0de3ba65633954502a8c06c1396a","description":"A jQuery plugin for opening Vimeo and Youtube videos in a modal window.","_id":"videopopup@0.0.8","_npmVersion":"5.4.2","_nodeVersion":"6.11.2","_npmUser":{"name":"mrchimp","email":"jake@deviouschimp.co.uk"},"dist":{"integrity":"sha512-eh71mCNfOcY0MvchS0v7nsFbab0CMMcSJBp83QJbZfhzamtMVYdkiw5Zj7ymXDU++Lbyo7SJbbSxfhF5bxOX1w==","shasum":"d9a4d5408e5113407f076c5147f9d2f37922bb65","tarball":"https://registry.npmjs.org/videopopup/-/videopopup-0.0.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNDfGKCgTK98KyhCtG8QtsYV/9EkAw7QuKzMWByXPzHwIhALJX33F3+muQYejOQzVbkBQaDtSP90EiURELct3WvDQr"}]},"maintainers":[{"name":"mrchimp","email":"jake@deviouschimp.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videopopup-0.0.8.tgz_1511265322444_0.9337212815880775"}}},"readme":"# Video Popup #\r\n\r\nA jQuery plugin for opening Vimeo and Youtube videos in a modal window.\r\n\r\n * Configurable embed settings.\r\n * Stylable with LESS (or CSS, whatever).\r\n\r\n\r\n## Setup ##\r\n\r\nInclude jQuery and the videopopup js and css files in your HTML.\r\n\r\nMake some links and add some video codes.\r\n\r\n\t\t<a href=\"#\" class=\"my-video-links\" data-vimeo=\"84215473\">Vimeo</a>\r\n\t\t<a href=\"#\" class=\"my-video-links\" data-youtube=\"ppZzR-z8RqE\">Youtube</a>\r\n\r\nDo something like the following to make your links work:\r\n\r\n    $('.my-video-links').videopopup({\r\n\t\tautoplay: true,\r\n\t\tcolor: '#f00'\r\n\t});\r\n\r\n\r\n## Options ##\r\n\r\nAll options are optional. Defaults are shown below. Most options affect either Vimeo or Youtube links but you can specify them all together - it won't cause problems.\r\n\r\n### Options for both ###\r\n\r\n* autoplay (true)\r\n\r\n### Options for Vimeo Links ###\r\n\r\n* title (false)\r\n* byline (false)\r\n* portrait (false)\r\n* color (#00adef)\r\n\r\n### Options for Youtube links ###\r\n\r\n* controls (true)\r\n* showinfo (false)\r\n\r\n### Events ###\r\n\r\nYou can use events like so:\r\n\r\n    $('.my-link').videopopup().on('video:show', function() {\r\n      console.log('This video is now showing.');\r\n    });\r\n\r\n#### Available events: ####\r\n\r\n* video:show\r\n* video:hide\r\n\r\n","maintainers":[{"name":"mrchimp","email":"jake@deviouschimp.co.uk"}],"time":{"modified":"2022-05-23T06:41:28.541Z","created":"2017-11-21T11:55:23.375Z","0.0.8":"2017-11-21T11:55:23.375Z"},"repository":{"type":"git","url":"git@github.com/mrchimp/videopopup"},"readmeFilename":"README.md"}