{"_id":"embed-video","_rev":"23-29d4909fd030abbb44d5a1830642b833","name":"embed-video","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","dist-tags":{"latest":"2.0.4"},"versions":{"1.0.0":{"name":"embed-video","version":"1.0.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","_id":"embed-video@1.0.0","dist":{"shasum":"9c97335904c75822a47ad59f935a0e4df5535e72","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.0.0.tgz","integrity":"sha512-aZWDYj3JOCt72AqWM6rOQhUViNrvxI3TA4YZbxfFO7dxBAW9Z/bGIED0yjvt4FsiCIHvP7iaPlROB6DWG2Ds9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5ISrBiDP3DTlKzuBQCW3puPVhDSF4rSwTb8kuE+YtkAIgLo8/eTctrO56z4jcBABhFPoVjoFzIaOu8M8+y2Q47ak="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"directories":{}},"1.0.1":{"name":"embed-video","version":"1.0.1","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^2.12.3"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"_id":"embed-video@1.0.1","dist":{"shasum":"0f10c5eee67ae429796126c3832f047349491ac8","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.0.1.tgz","integrity":"sha512-gSR28eCrd5bh9uINvQilmEFa9PLRS/SxuYGiI+DAMrm+TCTgClJkGP+dmXNyY/d08dJY7/19kGNRZtPrgkQ2BA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDwb8OfoZ31mVJnyalFxRWhrvMhOhCMeGClubp1f/nyAIhALDKCaqmENSo+f+TYSSSJ7BF4K131qJjsJVd8IkLjsKN"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"directories":{}},"1.0.2":{"name":"embed-video","version":"1.0.2","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^3.0.1"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"gitHead":"0682b29ff1f3abbe223033c095194c6eba048899","_id":"embed-video@1.0.2","_shasum":"732e9942801c3215eb8e011199931ebae517cfa3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"dist":{"shasum":"732e9942801c3215eb8e011199931ebae517cfa3","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.0.2.tgz","integrity":"sha512-b9fWL8+QIGHEP2QUgoscFEf5GtAiynw3r0rhfL1EeqYXq0uV+lLjtw3QKpH5TnR8D5nAaM/eqenDkX0XgApDUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID4QgxwM07HQaPAqfrVrcOAiYo7ER+bgZXqGNeGJ+t4rAiBhi1Up/DhD9h6fpWORtwyYmS22vh6T7mnh6aRjkt8IoA=="}]},"directories":{}},"1.1.0":{"name":"embed-video","version":"1.1.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"gitHead":"1e50e9dc8af34e69ee85bd172796a54b5321d4cb","_id":"embed-video@1.1.0","_shasum":"e7e81f95ef2a25ddac29f5be3c8d93eb518ddc10","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"dist":{"shasum":"e7e81f95ef2a25ddac29f5be3c8d93eb518ddc10","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.1.0.tgz","integrity":"sha512-ol6ZJeOeq5KfrZoIMGf4iTdVBludaw/iB/KR+k4ySCkR2aD6YIry1+siD5EEcZrJ2WI7hT0nrwQjiuCyYkhJYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1zM7nLvKpWsLNMc6viiaw0h3+/bKnv9bQH/w3kjVcPwIgGKnjQdAd9wqnVnnQOGB31vR0TgqCH1V2Jx4RP+5Po+k="}]},"directories":{}},"1.2.0":{"name":"embed-video","version":"1.2.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"gitHead":"38ff554b9c7fb6094b3ba8b66ba4ff5eab984db0","_id":"embed-video@1.2.0","_shasum":"2bbc108648f07a5382927a0ca9c0efe1ae479000","_from":".","_npmVersion":"2.11.1","_nodeVersion":"2.3.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"dist":{"shasum":"2bbc108648f07a5382927a0ca9c0efe1ae479000","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.2.0.tgz","integrity":"sha512-n4MQoI0EI8ja7YOCbRIal5j3Jv9Rmwrg6SvV/2pLExVuGzuhKYY35xchdPDTDoukVfP83s92leTx8DHvarHxbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzJVFVZQZbOaRmdTM3sj3VsKKAFgZScoYAV5piBLNMdgIgS5xWe/mjhd4ijigHC2xXFiygnYnqtjvkiMdsF7rhFK4="}]},"directories":{}},"1.3.0":{"name":"embed-video","version":"1.3.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"dependencies":{"request":"^2.75.0"},"gitHead":"f1bc6569da981f2d96a3bb6ea581076479c84a70","_id":"embed-video@1.3.0","_shasum":"590ce6cbf7fa7ebee0c9124bfba080752f34be30","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"shasum":"590ce6cbf7fa7ebee0c9124bfba080752f34be30","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.3.0.tgz","integrity":"sha512-AE1m8xprcAKgZDVDiG8G8DumS5fbDidOooPGkYuNmGuaAQid8wJdWokMBwFBcvDRNCxi3wXZbdEFTxwwuWxREw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc4EwjPPIitQbv4I5U/K/Nqkf+W+COlW+Y51B9/zkjZgIgS4p8E/M8NOEt176DCt/tcW6CVddsjdTa3isiykfPyFw="}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/embed-video-1.3.0.tgz_1474532996254_0.5978812905959785"},"directories":{}},"1.4.0":{"name":"embed-video","version":"1.4.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"dependencies":{"lodash.escape":"^4.0.1","request":"^2.75.0"},"gitHead":"9147a590cb66a49fa2e0b0b726000354ca48f4b1","_id":"embed-video@1.4.0","_shasum":"f5eee3779dbd1a605c4216f918bec50474cc1366","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.2","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"shasum":"f5eee3779dbd1a605c4216f918bec50474cc1366","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.4.0.tgz","integrity":"sha512-3mwKz9E+CCD2kahgkIBB8LvtBtDqG6t+3RKGc76cWC2WpbIn/CftIFUx+WGJDBB2SOEdl2MrAXF0wFDS93BsIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5lozNHYjUGvqYdeoOK8U67msHBGS3KAb51SSCbQMzAQIgdp0mmlw53fro+WbhM/trRM5QjEml0yedgobAaTOwIqE="}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/embed-video-1.4.0.tgz_1489401641474_0.38338782498613"},"directories":{}},"1.5.0":{"name":"embed-video","version":"1.5.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"dependencies":{"lodash.escape":"^4.0.1","request":"^2.75.0"},"gitHead":"0e55e634615e81112282a2545decc2c6a210c969","_id":"embed-video@1.5.0","_shasum":"d2e44df4a3d23fd3c7ae747e99a6d89aed7c9a16","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"shasum":"d2e44df4a3d23fd3c7ae747e99a6d89aed7c9a16","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.5.0.tgz","integrity":"sha512-XMzBA4XmipS+A/ijPK9ZVy3JwFu1GVi4/4O9OlaKPGxFsyzl3ZZAIu/av0uN7okDo/0nTnJMqqShKWasOHXWEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1CzMuEHelrnGGIngLvRrsQ6GDM9OaeR03SUJVnYY6pAiEA59sMs3Pbbz2UV8Izcp8NzvFby7ltWjW03Y6+UX/Ipn8="}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/embed-video-1.5.0.tgz_1491125763412_0.7174645594786853"},"directories":{}},"1.6.0":{"name":"embed-video","version":"1.6.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"dependencies":{"lodash.escape":"^4.0.1","request":"^2.75.0"},"gitHead":"aa386ce7056bd33279e89547bc567d7c98543bda","_id":"embed-video@1.6.0","_shasum":"a712d8b32517b5dafa0f733f62af9c6a8d07c372","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"shasum":"a712d8b32517b5dafa0f733f62af9c6a8d07c372","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-1.6.0.tgz","integrity":"sha512-hn81EPojCXgakao/9ULhgCmLnQEuCH9uo15X50Dt1XfdL/OYOzdgo/x2WXAJyhUptGFr+pHSrNEyTVjS7YHqtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJF3G2mNGA/3Mj8u09sYeYQrH1QhLODc0SWNKknOsDxAIhAPH3Euxcj0v5y9V7Wx+ZKNZyIiUSRKVIBWsxnY8H7KXJ"}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/embed-video-1.6.0.tgz_1494605027893_0.9994952694978565"},"directories":{}},"2.0.0":{"name":"embed-video","version":"2.0.0","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"dependencies":{"fetch-ponyfill":"^4.0.0","lodash.escape":"^4.0.1","promise-polyfill":"^6.0.2"},"gitHead":"c8ca724fc36d3d2e6946fd831fdbdbe0f13b07f0","_id":"embed-video@2.0.0","_shasum":"d7f268bb3464220f695db33a6021e1a608c8e1f9","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"shasum":"d7f268bb3464220f695db33a6021e1a608c8e1f9","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-2.0.0.tgz","integrity":"sha512-pwxLGY3WUI7Y9R+sZDTLKe/ODdFTi68S3gzDQjJP6REWnm+Gvep4eLp7gKfpaqpfulRNK/jQc7JnKpuuFKlpyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3wWO74aN5QlkVnbGLlIb2dRpOpIjRCCpH/cH2yILSMgIgBf/wu6Ozcr96Z2ubvahvOGH99gXNcNqLr501YlADKmA="}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/embed-video-2.0.0.tgz_1495441370793_0.05525655369274318"},"directories":{}},"2.0.1":{"name":"embed-video","version":"2.0.1","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"standard":"^11.0.1","tape":"^4.0.0"},"testling":{"files":"test.js","browsers":["ie/8..latest","chrome/latest","firefox/latest","safari/latest","opera/latest","iphone/6","ipad/6","android-browser/latest"]},"dependencies":{"fetch-ponyfill":"^4.0.0","lodash.escape":"^4.0.1","promise-polyfill":"^6.0.2"},"gitHead":"312a1202e53b8a37f1c132b1121d8970705d66c3","_id":"embed-video@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"integrity":"sha512-8dRjSG9rKq5yH31ucHgNeTljcOvkUfSiVq2ZDGnZcX3eJXCwKiGEr+9qu0fcrtQ9ztBC2+D3R1ji98bOS75y0A==","shasum":"5bd51fb32ead6754101585cbdc45383feb0d849b","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-2.0.1.tgz","fileCount":6,"unpackedSize":22548,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD66xPZ819n8vPr/wxesfeL3Pgn9LNB382FdgetygrAdAIgUVc4NIb4h9BGih3F8MELDqie4zSMbg77AXIgQzGzeeA="}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/embed-video_2.0.1_1522139567982_0.8132660911678666"},"_hasShrinkwrap":false},"2.0.2":{"name":"embed-video","version":"2.0.2","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"standard":"^11.0.1","tape":"^4.0.0"},"dependencies":{"fetch-ponyfill":"^4.0.0","lodash.escape":"^4.0.1","promise-polyfill":"^6.0.2"},"gitHead":"57110ebd68201227156048186e15388ee10c73cb","_id":"embed-video@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"integrity":"sha512-ge73a+j0DU5RpDCCEECacZjl/6GipkYQNLdUgS2AWFXjawvZ1khncZc9fNfh6eLTg0vQ29bab9EGhdE6p+aGtw==","shasum":"fb604070030762a93b515dbc118e3cfeb581d2a1","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-2.0.2.tgz","fileCount":6,"unpackedSize":22193,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDncSH2ZhfdhHlF+TcksEwx78KedGk6wGkDDpnlO3ISDAiA4kjqwBWjiPjpRinw2YjX80NkqnZWmWw2dvYuFsyPO2w=="}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/embed-video_2.0.2_1522139925741_0.7037917234467914"},"_hasShrinkwrap":false},"2.0.3":{"name":"embed-video","version":"2.0.3","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"standard":"^11.0.1","tape":"^4.0.0"},"dependencies":{"fetch-ponyfill":"^4.0.0","lodash.escape":"^4.0.1","promise-polyfill":"^6.0.2"},"gitHead":"ada2cd61fb62048ff6d2465f30544ddb86273f62","_id":"embed-video@2.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"integrity":"sha512-d/B30oxG325JktTEJBWX4nCUYg5/dbg3AA2f39tUWJsQdGuf3SCFjpY44R5MrjOKbXL5Db1UiuA/dX/ADDPaLw==","shasum":"5533aac7cb883b839e21a074c360ff8ddc2b78a4","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-2.0.3.tgz","fileCount":6,"unpackedSize":22601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/uqUSfPLH2IiULqBMLwQvo6WsXOrPY5oLiiN0Cp0shAIhAOTV8923FEld1Y5POX0fa7WzK7C0ZpYnEWYlkICOFuTc"}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/embed-video_2.0.3_1522141677043_0.558185383678395"},"_hasShrinkwrap":false},"2.0.4":{"name":"embed-video","version":"2.0.4","description":"Get embed code for embedding youtube/vimeo/whatever video in websites from URL or ID","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"keywords":["video","movie","embed","code","share","vimeo","youtube"],"author":{"name":"Alan Shaw"},"license":"MIT","bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"homepage":"https://github.com/alanshaw/embed-video","devDependencies":{"standard":"^11.0.1","tape":"^4.0.0"},"dependencies":{"fetch-ponyfill":"^4.0.0","lodash.escape":"^4.0.1","promise-polyfill":"^6.0.2"},"gitHead":"7cfbc28aab170191d1f57a9716a59b761b1f71f6","_id":"embed-video@2.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.10.0","_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"dist":{"integrity":"sha512-nSc/PAf1+TUeRRCQKvv4+5Qzh6F0s4sQajneLIc+SjN+WDdypYzZtIeaCVIHc/9vXF6tCv8z46UtAWSvh674mg==","shasum":"d21d999c99b4e803d410bbe3133c0151ce2cda64","tarball":"https://registry.npmjs.org/embed-video/-/embed-video-2.0.4.tgz","fileCount":6,"unpackedSize":22602,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZtbDuAfu+NLVOPNLvq5OQq6/cfe3vlRwoEC+fsw6chwIgfMgkQ7eNbwFhAtLa5xm9EGP9KnUYwsmXtox8zsyv+2E="}]},"maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/embed-video_2.0.4_1523261166830_0.20514767800470013"},"_hasShrinkwrap":false}},"readme":"# embed-video\n\n[![Build Status](http://img.shields.io/travis/alanshaw/embed-video.svg)](https://travis-ci.org/alanshaw/embed-video) [![devDependency Status](https://david-dm.org/alanshaw/embed-video/dev-status.svg)](https://david-dm.org/alanshaw/embed-video#info=devDependencies) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n> Get embed code for embedding youtube/vimeo/dailymotion/whatever video in websites from URL or ID.\n\nCurrently supports YouTube, Vimeo and DailyMotion. Please pull request to add others!\n\n## Example\n\n```js\nvar embed = require(\"embed-video\")\n\nvar vimeoUrl = \"http://vimeo.com/19339941\"\nvar youtubeUrl = \"https://www.youtube.com/watch?v=twE64AuqE9A\"\nvar dailymotionUrl = \"https://www.dailymotion.com/video/x20qnej_red-bull-presents-wild-ride-bmx-mtb-dirt_sport\"\n\nconsole.log(embed(vimeoUrl))\nconsole.log(embed(youtubeUrl))\nconsole.log(embed(dailymotionUrl))\n\nvar vimeoId = \"6964150\"\nvar youtubeId = \"9XeNNqeHVDw\"\nvar dailymotionId = \"x20qnej\"\n\nconsole.log(embed.vimeo(vimeoId))\nconsole.log(embed.youtube(youtubeId))\nconsole.log(embed.dailymotion(dailymotionId))\n```\n\nOutput:\n\n```html\n<iframe src=\"//player.vimeo.com/video/19339941\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\n<iframe src=\"//www.youtube.com/embed/twE64AuqE9A\" frameborder=\"0\" allowfullscreen></iframe>\n<iframe src=\"//www.dailymotion.com/embed/video/x20qnej\" frameborder=\"0\" allowfullscreen></iframe>\n<iframe src=\"//player.vimeo.com/video/6964150\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\n<iframe src=\"//www.youtube.com/embed/9XeNNqeHVDw\" frameborder=\"0\" allowfullscreen></iframe>\n<iframe src=\"//www.dailymotion.com/embed/video/x20qnej\" frameborder=\"0\" allowfullscreen></iframe>\n```\n\n## Usage\n\n```js\nvar embed = require(\"embed-video\")\n```\n\n### embed(url, [options])\n\nReturn an HTML fragment embed code (string) for the given video URL. Returns `undefined` if unrecognised.\n\n### embed.image(url, [options], callback)\n\nReturns an HTML `<img>` tag (string) for the given url and the `src` in a callback. Works for **youtube**, **vimeo** and **dailymotion**. Returns `undefined` if unrecognised.\n\n```js\n{\n  src: http://img.youtube.com/vi/eob7V_WtAVg/default.jpg,\n  html: <img src=\"http://img.youtube.com/vi/eob7V_WtAVg/default.jpg\"/>\n}\n```\n\n### embed.info(url)\n\nReturns an `object` containing the video ID, video source (`\"youtube\"`, `\"vimeo\"`, `\"dailymotion\"`), and the original url. Works for **youtube**, **vimeo** and **dailymotion**. Returns `undefined` if unrecognised.\n\n```js\n{\n  id: String,\n  url: String,\n  source: Enum \"youtube\", \"vimeo\", \"dailymotion\"\n}\n```\n\n## Options\n\n### `query`\n\nObject to be serialized as a querystring and appended to the embedded content url.\n\n\n#### Example\n\n```js\nconsole.log(embed.vimeo(\"19339941\", {query: {portrait: 0, color: '333'}}))\n```\n\nOutput:\n\n```html\n<iframe src=\"//player.vimeo.com/video/19339941?portrait=0&color=333\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>\n```\n### `attr`\n\nObject to add additional attributes (any) to the iframe\n\n#### Example\n\n```js\nconsole.log(embed('https://youtu.be/jglUWD3KMh4', {query: {portrait: 0, color: '333'}, attr:{width:400, height:200}}))\n```\n\nOutput:\n```html\n<iframe src=\"//www.youtube.com/embed/jglUWD3KMh4?portrait=0&color=333\" frameborder=\"0\" allowfullscreen width=\"400\" height=\"200\"></iframe>\n```\n\n### `image`\n\n#### Youtube Image options\n\n|option|image|\n|:------|:-----:|\n|default|![](http://img.youtube.com/vi/eob7V_WtAVg/default.jpg)|\n|mqdefault|![](http://img.youtube.com/vi/eob7V_WtAVg/mqdefault.jpg)|\n|hqdefault|![](http://img.youtube.com/vi/eob7V_WtAVg/hqdefault.jpg)|\n|sddefault|![](http://img.youtube.com/vi/eob7V_WtAVg/sddefault.jpg)|\n|maxresdefault|![](http://img.youtube.com/vi/eob7V_WtAVg/maxresdefault.jpg)|\n\n```js\nembedVideo.image('https://www.youtube.com/watch?v=ekETjYMo6QE', {image: 'mqdefault'}, function (err, thumbnail) {\n  if (err) throw err\n  console.log(thumbnail.src)\n  // https://img.youtube.com/vi/ekETjYMo6QE/mqdefault.jpg\n  console.log(thumbnail.html)\n  // <img src=\"https://img.youtube.com/vi/ekETjYMo6QE/mqdefault.jpg\"/>  \n})\n```\n\n#### Vimeo Image options\n\n|option|image|\n|:---|:---|\n|thumbnail_small|![](http://i.vimeocdn.com/video/122513613_100x75.jpg)|\n|thumbnail_medium|![](http://i.vimeocdn.com/video/122513613_200x150.jpg)|\n|thumbnail_large|![](http://i.vimeocdn.com/video/122513613_640.jpg)|\n\n```js\nembedVideo.image('https://vimeo.com/19339941', {image: 'thumbnail_medium'}, function (err, thumbnail) {\n  if (err) throw err\n  console.log(thumbnail.src)\n  // http://i.vimeocdn.com/video/122513613_200x150.jpg\n  console.log(thumbnail.html)\n  // <img src=\"http://i.vimeocdn.com/video/122513613_200x150.jpg\"/>\n})\n```\n\n#### DailyMotion Image options\n\n|option|image|\n|:---|:---|\n|thumbnail_60_url|![](http://s1.dmcdn.net/IgPVQ/x60-oZg.jpg)|\n|thumbnail_120_url|![](http://s1.dmcdn.net/IgPVQ/x120-llF.jpg)|\n|thumbnail_180_url|![](http://s1.dmcdn.net/IgPVQ/x180-DpY.jpg)|\n|thumbnail_240_url|![](http://s1.dmcdn.net/IgPVQ/x240-JCj.jpg)|\n|thumbnail_360_url|![](http://s1.dmcdn.net/IgPVQ/x360-s-z.jpg)|\n|thumbnail_480_url|![](http://s1.dmcdn.net/IgPVQ/x480-ktj.jpg)|\n|thumbnail_720_url|![](http://s1.dmcdn.net/IgPVQ/x720-d_h.jpg)|\n|thumbnail_1080_url|![](http://s1.dmcdn.net/IgPVQ/x1080-HsJ.jpg)|\n\n```js\nembedVideo.image('https://www.dailymotion.com/video/x20qnej_red-bull-presents-wild-ride-bmx-mtb-dirt_sport', {image: 'thumbnail_720_url'}, function (err, thumbnail) {\n  if (err) throw err\n  console.log(thumbnail.src)\n  // http://s1.dmcdn.net/IgPVQ/x720-d_h.jpg\n  console.log(thumbnail.html)\n  // <img src=\"http://s1.dmcdn.net/IgPVQ/x720-d_h.jpg\"/>\n})\n```\n\n## Contribute\n\nFeel free to dive in! [Open an issue](https://github.com/alanshaw/embed-video/issues/new) or submit PRs.\n\n## License\n\n[MIT](LICENSE) © Alan Shaw\n","maintainers":[{"name":"alanshaw","email":"alan138@gmail.com"}],"time":{"modified":"2022-06-16T09:35:15.208Z","created":"2014-05-01T11:12:52.571Z","1.0.0":"2014-05-01T11:12:52.571Z","1.0.1":"2014-05-02T08:31:19.067Z","1.0.2":"2014-11-03T20:07:59.075Z","1.1.0":"2015-05-02T01:31:26.554Z","1.2.0":"2015-06-23T10:16:53.189Z","1.3.0":"2016-09-22T08:29:57.001Z","1.4.0":"2017-03-13T10:40:43.533Z","1.5.0":"2017-04-02T09:36:05.329Z","1.6.0":"2017-05-12T16:03:49.931Z","2.0.0":"2017-05-22T08:22:51.758Z","2.0.1":"2018-03-27T08:32:48.056Z","2.0.2":"2018-03-27T08:38:45.788Z","2.0.3":"2018-03-27T09:07:57.568Z","2.0.4":"2018-04-09T08:06:06.888Z"},"homepage":"https://github.com/alanshaw/embed-video","keywords":["video","movie","embed","code","share","vimeo","youtube"],"repository":{"type":"git","url":"git://github.com/alanshaw/embed-video.git"},"author":{"name":"Alan Shaw"},"bugs":{"url":"https://github.com/alanshaw/embed-video/issues"},"license":"MIT","readmeFilename":"README.md","users":{"chirag8642":true,"gxw":true,"kaho":true}}