{"_id":"rehype-video","_rev":"18-f605ae5062bab6be842eb1d02e7cfa8b","name":"rehype-video","dist-tags":{"latest":"2.3.2"},"versions":{"1.0.0":{"name":"rehype-video","version":"1.0.0","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.0.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-video#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"a3c29454f5638fb3b001872a7749826133922a96","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.0.0.tgz","fileCount":10,"integrity":"sha512-ARU8oSUGU5BUUR0v8WRRZ65qG9dusynol8qxt/oiPq53s6OXbDDCIoXji8wbWBQC3hYl6g2dvCMBxMWv7kkgUQ==","signatures":[{"sig":"MEUCIHk/wxGdjfeWNYsxhq0BvCr+K/P9nwkS/xsOLxI+7ok6AiEA35PXh9z/iZDl2PMvQSao88rm7ZU5WcA2Plb6RHeldCI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16019},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"7a52d907d18ef609426c3ac982376b61f6cfc937","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"7.23.0","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.17.5","dependencies":{"unified":"10.1.0","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.4","rehype":"12.0.0","remark":"14.0.1","remark-gfm":"3.0.0","remark-parse":"10.0.0","remark-rehype":"10.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.0.0_1634825363791_0.6984512881416138","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"rehype-video","version":"1.0.2","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.0.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"6ee2ebed5c85d38324eff73f2a56be30000798fe","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.0.2.tgz","fileCount":10,"integrity":"sha512-nUYQVAmk0IfEqCU9Isy4lw6qkZZpIYwDUmV2wVx+yNpBHt6OJziggtpgp6LiasrnmuOoy9hJsjG33Z2PbZpHpQ==","signatures":[{"sig":"MEUCIQCOnA1jse1Xy4yUTvDX5vIvDu5y5lRIWa5Vz2mzeDSu2AIgUIDIEOQCkIMBIx0QYnV3/yzWRdEFLIW/iucL8e4Oh7Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17547},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"4c9c97db03362fde0f2696ad477c76d26859412b","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"6.14.15","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"unified":"10.1.0","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.4","rehype":"12.0.0","remark":"14.0.1","remark-gfm":"3.0.0","remark-parse":"10.0.0","remark-rehype":"10.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.0.2_1634828576251_0.6597088171913279","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"rehype-video","version":"1.1.0","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.1.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"5ab97c2465ac331a03f7b052d34c91215b8bc349","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.1.0.tgz","fileCount":10,"integrity":"sha512-d/a0P7KIl+vS9Obgahz6HXZps/cEmDXgyLUSmythG2pUmZfVpO3EAwM0AiGIxqwUCU5e3KrgUnYpVQoMMWlthA==","signatures":[{"sig":"MEQCICC/gEyOwzv7e3k9REvHTyWYn5cydbuNEKssjE6PFIm6AiApLAkZw+zwLlAQwy1AVWHvOqcotoB8H1Tim69dqmoqDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17634},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"b2a385ac2db3cfa83a448d289de0dbaa721256cd","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"6.14.15","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"unified":"10.1.0","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.4","rehype":"12.0.0","remark":"14.0.1","remark-gfm":"3.0.0","remark-parse":"10.0.0","remark-rehype":"10.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.1.0_1634830457776_0.6300544391023577","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"rehype-video","version":"1.1.1","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.1.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"1bd9bd96920d1b830b2642f8c948073500fc9f48","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.1.1.tgz","fileCount":10,"integrity":"sha512-BMuwZcVHPv2AznaTmVwewRInIl9uI7Qxgyn1pgoV9178UVHLNBN86QICOBH4HFLkKCRimIE5KyLbrQG0r/dGKQ==","signatures":[{"sig":"MEYCIQDf9VIsN/QYikGkA0lqoGB9agqtPqRz7zT0s3PAx4LaeAIhAJnONEg9CFO9gwz76ca3TukGBtUCjQc+1ahYt4ReUYyJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh25lWCRA9TVsSAnZWagAA/z0QAIioEL71gxdF2xX/bUhZ\nU/l74m0omd03kn5my4X8YEfmmoXRehyTDQXCyfEIJiQuG/VJevsg76id3YoV\n0TNlcg3YsJxBmm2le+jPiDZKXZK1m2WnN6vhB8BFu3DecDOWHg0PTFjnqPko\nXF5luCvyKVpunH1GJQe7Rj34tHLRruwQbePVy7oRPVKUlFuSmka+hwjTU5C/\nE9hi4JnvvJHDexNeFHol6CoaHnWYgqBdfW1Wym8I40Qs6JcWYQYW56F+f1LH\nQUy5D6Yb5i4RXR5WJYDrdwxgXOD6fZimJ02YXK3bTuKB/59/hvn3bMXoUNu5\nL9atP3vEGlQ3xsOcbKMc23lAy90gYcXVMsyNxebmM8nM16iGn8Hyb6Mjl2nu\nklUeACsuM6hLDS588QRInPW5vO2wnLJUPlu6MSIxDaIku89dxPrKTxRGP7ye\nMj4TmcI0BcD3TYDuTR78DVTHIdK0kqSf9jdhQXoHZsc065D+MvBcXxY1mUwP\nJG1TwpYO5swkerO5Hn/R39WaHCxUxTW5K16/oXnFtyZZIirun+NFngvVcXJA\ny2YhIv9vVs9b/IApTjsYLp8QMD+2WJFSTqyRSIlbf8pPoML5e65al3L/Yl0W\naV6xQRWXXJiG2ai1EfBNSm9SSove3Dka/LaQVGzooJRDO2zNERb68vCCH+Bv\nb1IW\r\n=zK4R\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"6298a4ef79714838d888a8917a181a9c5cd1e6c6","scripts":{"fix":"tsc-esm-fix --target='lib' --ext='.js'","test":"tsbb test","build":"tsbb build --disable-babel && npm run fix","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"6.14.15","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.1","dependencies":{"unified":"10.1.0","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.4","rehype":"12.0.0","remark":"14.0.1","remark-gfm":"3.0.0","tsc-esm-fix":"2.7.3","remark-parse":"10.0.0","remark-rehype":"10.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.1.1_1634832953503_0.08819773767119132","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"rehype-video","version":"1.1.2","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.1.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"9996a12f3f8d0705e3d2ecc1f260f8e739f2d9b0","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.1.2.tgz","fileCount":10,"integrity":"sha512-NshVzHHoHEnJhipFW44mI/9n1TLyH1Rxgo4f83dt3BWJY+JC+k7N+blNQm0ACn2/94eC5w9uDlpJ7x7YUzFVmg==","signatures":[{"sig":"MEUCIQDjtpMXjD7ShIV93aB0zO47Ny3wmESD1z9e3J8XkYUPPwIgXMhhoDaGC8D9iF2YXp45SocmTbQffi4TjCExJuHmw14=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI7d1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoX8w/9EQXgLVmTD5Y1Mul4FyTaO0OSfEt1wBur+7EIQhuNr39Omksw\r\nXNjcsEmLbx+oSrnyLvV0jj0uR9wglvfr39SGtjE6gkpDwZ01DHKWPqBotrAa\r\nwXcRii4Wz0Z40SHq4BON91KVRBzPlWuqXBUfZiYME9fxmzIuNjxDu+CRHEFh\r\nlVTXIw8Kzn8DEHmh1VcNyqYg7EXZ5PtiRPrF32rDGNpvB2RxBwDE4HIUXLeV\r\nWlB2AtRNOIie9KitoZKr+Fo1EkNhFuvIH7biqUOcPPNSm/PgiFfdhEuXtJY7\r\nSmN1eLt2HVoZW36X+caEx9sTftQFrkMlNob63uYar66ylLUk5YaSXhKKCjTb\r\nM4wAcQi/ts+Gk6VKbrUDhg5crmnxgIUNvKUFHkJnZP+3vZNRvB99jYWMCqf3\r\nxxeFWRwa8iB8Gls9bLOh2y6NQ0FN1gkh7e1fwt8TCxRQtD84qp9TUDKbj6ji\r\nYyzISThPIGwoPrhicFE6lS13e/yDcTDWSrf0zOVWI+ILuUbat4778lDJ9PxK\r\n4doTg8YR8UWKsuB+4KoTYiN+5J7Piq4YrsALznBXsrvpDFWbQQQiIWudVUk6\r\nkjgqRFJbe/ZUItytGQNiqlCHEtrvFv+YVJeeRThFURbG62nacK985zYN2iBV\r\n/FrfA6om1rWMEu8sxkWccvsPMUwz+P1KfkI=\r\n=zNow\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"789feee0c9457532fead54348cce35af3ee25198","scripts":{"fix":"tsc-esm-fix --target='lib' --ext='.js'","test":"tsbb test","build":"tsbb build --disable-babel && npm run fix","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"6.14.16","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"unified":"~10.1.1","unist-util-visit":"~4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"~3.7.1","rehype":"~12.0.0","remark":"~14.0.1","remark-gfm":"~3.0.0","tsc-esm-fix":"~2.7.3","remark-parse":"~10.0.0","remark-rehype":"~10.1.0","rehype-stringify":"~9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.1.2_1646507893031_0.5377797108627334","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"rehype-video","version":"1.2.0","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.2.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"c15c0e544b2f244e6b8d9786ffb4721675a1ef18","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.2.0.tgz","fileCount":10,"integrity":"sha512-JqfosPSyGOswGjTthbIv3fbObmogaCQ+2zNvegNhsznmjsk0QH3T/tw8d+jKDtLXbl7uwIXAr96FQ6htNN+fMQ==","signatures":[{"sig":"MEYCIQCFhRkU2FOUrjF7ee/IkBCrclZN0FWZxJQMyJzmXIarTQIhAMFRngcHHpPiCKJ5w/OR4rWhZJOeqgqrzA6ub7JUN1Or","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNhQoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJuA/+IyLdMbjt6F/G6/0ZSMvCLcn9PzCHs7YPrvnZQsXc/3B9o49W\r\nWf4sIcxd7zD+c76VpnsveA5SGZgElw3dSL5iuU9yhfcH6cTfap0tI/Xjfb/a\r\nzF8qmoWzxq/ZsntX/HWLE81BkCv4ZmSXyLxza7QqJT4BObQ4qjAEEK+gZmuP\r\nsHAWhvGNL3zkuxUwY2hft4/R+9zDbq8G1oEfA+K5JEElRP+e+c4vGj0BbghY\r\nFU74FfjIvIY1iLQ0z2SUzpKtbnpQDkW79iZtvzEqJswjTz/eYA+fuamyhqhZ\r\nmSi9EnLBVK6PzhHrNf+c9xKJGrKqGDFjU46N6OP86YHVRqJwgUMhHtTdekJp\r\nLBgK6WFImU7oFq6A8qNOfNdN78+ZSTdyOSsaBHW3m0sP7+pW1MW/jvKQ5RaM\r\nea0bnbVdRWsM5tCSB3DuiPcFRBjU1cjCfTJtMfu68f6J1JF3hWyI3evWYHFF\r\npqJTA5WxsnA54iicIjQ96x7Q8wqZHlUe7EwdRtVQbytjsHM+9jeoxOd5uEGX\r\nANWLhzmVwCcULO5t/jD364GRCf+Y2VHmR3sRInjD/nwau7M5G84uWomiZr1K\r\nridaCEHTpaGIlH4M/3k/Y9k6nVF7tY8/iIcpA5/bnrRDl+ahsJ4j7xeIFmoi\r\nTsQZwQLDBFWDR9rN+UUoz4JkImH3qAJBiMY=\r\n=buz0\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"1fd34c8502701aa97bc7a2fd9a41a2fd32325048","scripts":{"fix":"tsc-esm-fix --target='lib' --ext='.js'","test":"tsbb test","build":"tsbb build --disable-babel && npm run fix","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"6.14.16","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"unified":"~10.1.1","unist-util-visit":"~4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"~3.7.1","rehype":"~12.0.0","remark":"~14.0.1","remark-gfm":"~3.0.0","tsc-esm-fix":"~2.7.3","remark-parse":"~10.0.0","remark-rehype":"~10.1.0","rehype-stringify":"~9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.2.0_1647711272067_0.14114212310650176","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"rehype-video","version":"1.2.1","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.2.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"b8e13a8c8fba2c952fd6544ea89ef99b2b220dcb","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.2.1.tgz","fileCount":10,"integrity":"sha512-1X2i58fa/N/duLPHwAG7hlWgpb2wwjQmYM7PoqMPRfpams4iZa34ACvM574GCRU5SUy2tuAO2PjdbHfJ/SyQ8g==","signatures":[{"sig":"MEQCIHXsmdQcMUZSAm7Rt5anYo/a2WfO5P0FhFY9wLczNGnFAiBB6gCaWylU1So0tXeaHszHoLwPSN5ygmDddPyvTjdZ1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNht5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKqg//U+kmMzOE8exGKxK7UVL9mAiacT0gcasypk4USdpD11oQH+3x\r\ndcEkb6kq9SV0GobwjnfMC7KoHPvM+Op6zAAzRUl8h47zV1rEZ7aoMKVIXJ9K\r\nz63Ff+uMiH7CyYSRtuKhCdMQDui5wHSpYI9tW+an+oKgdz9IxLNVbXTLU7VQ\r\n0dOASlrXvdkChjcCwSCthVKexjs+kHf8PKTkX8xbJARJBPGZo9MGnAhlQRhI\r\nTPCHCSzk7mZ8FsF5bA+CtcUxrDmRHqkJyHnm5Vyr2cu9jOxj3D+lpW5i1lCU\r\nJPgV9mkiIFLh2KL59jDef1SIrbuRNTQS+mJBVhh2PoIVVu+6+BjciPWku2zd\r\n8AcKzNdhOuqGU4oVq+oVWwK5ZS8CsgsNlI/oXoP98OyX+OKWt9RvxOSQoECM\r\ncKnQbtaVvILXGSpLbYNdt+OBTXzfDPSoZrgDc/bM+1CRMfeIqQiM4UGReIOh\r\nmlfsNv2VFOjaN26eDN9VRbvEQMjhpVentcnWGplDkN8doMG8Lu6RevKZxNHC\r\nILHA1nmrdwVdGRF6otSGqsnvu4eCHA/BeikIDuJ73okQAZ0/8zuSLreqKHf5\r\nfJd49fqknKY0gh/8gd+IymZwV3/xDr/4kI3AZyMeeV0CwtUYc6NIQeuHB6WM\r\nQa8aqcqcMfNevPYbJDKoyrHDhORLE1rcJ7g=\r\n=aOAC\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"2dc4fe979c0e756ecc994d97c84f43db10a970d8","scripts":{"fix":"tsc-esm-fix --target='lib' --ext='.js'","test":"tsbb test","build":"tsbb build --disable-babel && npm run fix","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"6.14.16","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"unified":"~10.1.1","unist-util-visit":"~4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"~3.7.1","rehype":"~12.0.0","remark":"~14.0.1","remark-gfm":"~3.0.0","tsc-esm-fix":"~2.7.3","remark-parse":"~10.0.0","remark-rehype":"~10.1.0","rehype-stringify":"~9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.2.1_1647713145658_0.8410543932881118","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"rehype-video","version":"1.2.2","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@1.2.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"a1dbd62c487e22b7282e9a23fa0b57f1f745ade9","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-1.2.2.tgz","fileCount":10,"integrity":"sha512-p18JzIZiFSUqk21RHeJTU/7/7n9Moy0aQzFzbujVWb4vPrRZHQAN0ZfzTV8J32yDsZE5d6JDGWOzmMdvJrHq0w==","signatures":[{"sig":"MEYCIQDPFGLE4qdGnuL1QXncCgopCbIi1Oh/QV6TzG2xs3+2sQIhAK2CYBcEQ1jvzmZTzQiZsxjIDPk0bRc8AxjtbggczKZW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNhzeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRhQ/+NFPWIOa2taxp0fFpnS4uWRrWIIR6wFwPXnzZKa8YH/G1kT0F\r\nyMXqE17vI58/riTmufd4YEgZe8tXBoLF5BNVSVfIac6nizNEYhPb5OXpk7lB\r\nR6VB9SnTv3uLMgTN0u1+SHULUe3Npjcm56T1A4inN3Dw/HTRi8CTrZtsWYCD\r\njMlwkOyla0bWbSMo9ilOoimWvYFnzwjIkxsfMI0OnN6jQWElOw+g8CESFZvQ\r\nNaici5UimSqD6JmCVgOHyFecMz1vEQMl8txTNtIyCxx9r0bcM1AeqyFSEY32\r\naP0CY/Dwa2UwUEa9ZXwgbvOlbfBZJodZt/y/cuB9Vr0IyV/P6XIqmt8L/5tJ\r\ngkMIdoXSA/rtnNvzxQTDpRK2z5aJ7ZtcQN1fysVp1rx7HVbnZ5joiXG7td6j\r\nJIwojjc+qCeFsli9DdLR0VgX9BWyVmSSLA2p+6q3ciJ6Sk3srBoLi1BN4Ls7\r\ndU6/BxAiWQjT5qrxp5Lc3HAwgYJ/HTUSRcJgi4Iq8xth+aViNu4gF6kNW+kO\r\nnAJntNI2v0OzDNkFK5Z8Vk01t3Y+q2p1QkI4Aeb2hiTX8bjN1x8lvOVf2SfD\r\njpkmMI4/bKmknIbhVVysd8gQ1yJoWJKemjyHdQpHgJ9J6peIXlcOcVlNiF9E\r\n91PZO+NyvOhoJ9Gs7EORnnSj1KHKmCIqyzk=\r\n=8kgY\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"5370861d0a1b2dc22fcc7bc03a3f84fdcd2e94e6","scripts":{"fix":"tsc-esm-fix --target='lib' --ext='.js'","test":"tsbb test","build":"tsbb build --disable-babel && npm run fix","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"6.14.16","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"unified":"~10.1.1","unist-util-visit":"~4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"~3.7.1","rehype":"~12.0.0","remark":"~14.0.1","remark-gfm":"~3.0.0","tsc-esm-fix":"~2.7.3","remark-parse":"~10.0.0","remark-rehype":"~10.1.0","rehype-stringify":"~9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_1.2.2_1647713501946_0.43158624662574296","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"rehype-video","version":"2.0.0","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@2.0.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"be3fedec46d0fdcf3ce32b36bda8f4c87e9eacea","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.0.0.tgz","fileCount":10,"integrity":"sha512-NRtkwmA8MmH5psBH23+QZhT1OxFfEVq129/on+lVseew76ZbrBRMB/XwSjft+zt83GXvtQPeMMOElGGp8OHqWA==","signatures":[{"sig":"MEYCIQDsfWa/9OMQRNaPX1zUifL+SSwSX3YIGRPMrCsxNQS3FgIhAP3m/F+6pWdUI/HaM1PK2YhWzjTwfh689o+yzwnQhxfF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21136},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16"},"exports":"./lib/index.js","gitHead":"00c97ba7a30c6ca5765a555539438f0dd82c4029","scripts":{"test":"tsbb test","build":"tsbb build","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"9.8.1","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_2.0.0_1695881601280_0.0023208281078417325","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"rehype-video","version":"2.0.1","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@2.0.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"30b9250b8b2d2eda86422733d084e68040fb9099","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.0.1.tgz","fileCount":10,"integrity":"sha512-b+WkBbcIJAbJ7+IAnWyDGQ9NGHeELwyMeF85sDhWoZ2DJJ02weraCD1W/sig+Tv1Zj6gvQ6GEqZxSZbnjni1Mw==","signatures":[{"sig":"MEUCIFiYWxkjZj9VHGuKW9po/y/N/c0rQe9tDG7ozY1REbpsAiEA/dhUyH9rC9aAOvwOOuuopuq+H7XJ0vaYbZ83qEWtsAk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21189},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16"},"exports":"./lib/index.js","gitHead":"4e12c289ac16062c2e5f8556432a1893faeec65b","scripts":{"test":"tsbb test","build":"tsbb build","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"9.8.1","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_2.0.1_1700916487051_0.9493470512060156","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"rehype-video","version":"2.0.2","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@2.0.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"947ad64e630fbacd1f889fabbb9e0ca33cc5def4","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.0.2.tgz","fileCount":10,"integrity":"sha512-iT4kOiixMn+ytjpKRsBo/o+3ws9+q+eIyrzUlOhuL97buOO38ayEog2NhxR3R+g6J2lEOTK66XtHVfvzQ3H7Ug==","signatures":[{"sig":"MEYCIQDKlb8y00R5bQlFl18sJbrMHtKdoKEV0iZFEPeC39rFhgIhANMhQ27rHqKQM27DP/2B3WyNElBiDXfnlzjNWbZtFBtS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21244},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16"},"exports":"./lib/index.js","funding":"https://jaywcjlove.github.io/#/sponsor","gitHead":"a5f7f1be65377a22f203497270795cedcca6b8b1","scripts":{"test":"tsbb test","build":"tsbb build","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"9.8.1","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_2.0.2_1700997764583_0.5381819131971608","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"rehype-video","version":"2.1.0","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@2.1.0","homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"027e804fd570585236172c3a6e18217d24f3cec3","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.1.0.tgz","fileCount":14,"integrity":"sha512-0oYzz2E+hTJHeJG2v6bd9z4qcCFnTSfn7X57YXadh75X6nByJXrygI0G4qKF6OJUtWfqDTpj27XtBmFZEA39qQ==","signatures":[{"sig":"MEYCIQC5qCzTcetOKKnxImQ7F3YYSJ+oDuYiAOCzMIzNRRG4tgIhAN3jx+FcsBQcOfzNdCMe7U5Z1zsJDcLYG8XuxYIYvxBq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26741},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16"},"exports":"./lib/index.js","funding":"https://jaywcjlove.github.io/#/sponsor","gitHead":"304076340e013ea0357701fa35ef3e8ddbc10263","scripts":{"test":"tsbb test","build":"tsbb build","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"10.7.0","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"20.15.0","dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_2.1.0_1719765513645_0.189461392328361","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"rehype-video","version":"2.2.0","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@2.2.0","homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"5742a50e674fb421afd2b8518cf53e6c5da7d7fb","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.2.0.tgz","fileCount":14,"integrity":"sha512-Cy3b6gYvDOgTt7bAmJ1WYiRW9IlVJ8Ua+VdnTjnGTxUGECT7v3oj99cF+q1ZSpGJ+ReGOM6r+9+lvj/Vgi7mbA==","signatures":[{"sig":"MEUCIQD+ElnYvGOxcq0qR/Nh/EhPj3rpco0dDrHpzmOi19L0iQIgNAzjxdEiL/SfNheUtTk/Gaw5D4nl9+SvR5YmAaPJdWw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28454},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16"},"exports":"./lib/index.js","funding":"https://jaywcjlove.github.io/#/sponsor","gitHead":"910f1261cfecec4d94c9a1d813c4b81284dd61c6","scripts":{"test":"tsbb test","build":"tsbb build","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"10.7.0","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"20.15.0","dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_2.2.0_1719853714812_0.09439201832242339","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"rehype-video","version":"2.3.0","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@2.3.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"37954b6a5c9b5f3138dd33f0c53680fe163f9a31","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.3.0.tgz","fileCount":14,"integrity":"sha512-wBt/TIpSMQf6U2vH9bNij435fCYdIj/Prt0dMqexP0rk+Ix6nT8beQyu3XYXd7qLIOassHAbBBJxfZgwG+zL9A==","signatures":[{"sig":"MEUCIDqMpQ/fIBF3616i6xbq1WCiXqCSEjjEqJXXDUppT7W0AiEAtF9kSluLh4WeojMMWfBKkPj2aBB1N/sOSzSHUTjyxxs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28987},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16"},"exports":"./lib/index.js","funding":"https://jaywcjlove.github.io/#/sponsor","gitHead":"f80d43e29f0df64f43fdadae645df825ebab978e","scripts":{"test":"tsbb test","build":"tsbb build","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"10.8.2","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_2.3.0_1725518439574_0.12768964984343767","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"rehype-video","version":"2.3.1","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"author":{"name":"jaywcjlove"},"license":"MIT","_id":"rehype-video@2.3.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-video","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"dist":{"shasum":"9df3f7675200bd15bb155094a27aeebb9efa9479","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.3.1.tgz","fileCount":15,"integrity":"sha512-KnDlv9s2KpsI1B9/HGMpe49GDRpfXjJZhQTiSuvsLlYSSmdUDqAhojdprQLms4d3SmQty4jysSy3abGkX1aQcA==","signatures":[{"sig":"MEQCIBNAA0VMeehYbYqCZBnieoFB1jx7OUiVZLauHlT9OdDrAiBR996Bi3Yn8QaYDFwc5jDF6TAfIRg7eQR/TOLFHPjArA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37966},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16"},"exports":"./lib/index.js","funding":"https://jaywcjlove.github.io/#/sponsor","gitHead":"0bb1a5e79f9b8d39b3dd021f0fad684f69f7e14d","scripts":{"test":"tsbb test","build":"tsbb build","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage --bail","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2335ba4f-5fd3-4288-a19f-379d29ad1501"}},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-video.git","type":"git"},"_npmVersion":"11.6.2","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-video_2.3.1_1765550541011_0.9053397058520853","host":"s3://npm-registry-packages-npm-production"}},"2.3.2":{"name":"rehype-video","version":"2.3.2","description":"Markdown supports video play with `.mp4` and `.mov` URLs.","homepage":"https://jaywcjlove.github.io/rehype-video","funding":"https://jaywcjlove.github.io/#/sponsor","sideEffects":false,"type":"module","typings":"./lib/index.d.ts","exports":"./lib/index.js","author":{"name":"jaywcjlove"},"license":"MIT","scripts":{"prepack":"npm run build","watch":"tsbb watch","build":"tsbb build","type-check":"tsc --noEmit","test":"tsbb test","coverage":"tsbb test --coverage --bail"},"repository":{"type":"git","url":"git+https://github.com/jaywcjlove/rehype-video.git"},"keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"jest":{"extensionsToTreatAsEsm":[".ts"],"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"engines":{"node":">=16"},"dependencies":{"unified":"^11.0.0","unist-util-visit":"^5.0.0"},"devDependencies":{"rehype":"^13.0.0","rehype-stringify":"^10.0.0","remark":"^15.0.0","remark-gfm":"^4.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","tsbb":"^4.2.3"},"gitHead":"a0edd4f6106daa21c1d832f9d847233cfd3c6306","_id":"rehype-video@2.3.2","bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-AubStCkbWMFvVZ1ETxbSmu62BHPOImL2F1qR+EKVLsUxpTerjgLY078HBfwvx1/TPhHoOCr8gNWuBfy13Dv4Dw==","shasum":"7235691ff1471ea147370acdabcd7c74152d9e52","tarball":"https://registry.npmjs.org/rehype-video/-/rehype-video-2.3.2.tgz","fileCount":15,"unpackedSize":39147,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-video@2.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDKfFM+KDvsymxavCVSakepP4BDX5ekCK7i79wz2b0CiQIhALsXakHx0vB+zAnvxD5LfRogekB2DlZwAuZfx+B6pM58"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2335ba4f-5fd3-4288-a19f-379d29ad1501"}},"directories":{},"maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-video_2.3.2_1785862938380_0.2640383504166355"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-21T14:09:23.733Z","modified":"2026-08-04T17:02:18.844Z","1.0.0":"2021-10-21T14:09:23.955Z","1.0.2":"2021-10-21T15:02:56.433Z","1.1.0":"2021-10-21T15:34:17.907Z","1.1.1":"2021-10-21T16:15:53.691Z","1.1.2":"2022-03-05T19:18:13.175Z","1.2.0":"2022-03-19T17:34:32.417Z","1.2.1":"2022-03-19T18:05:45.854Z","1.2.2":"2022-03-19T18:11:42.075Z","2.0.0":"2023-09-28T06:13:21.436Z","2.0.1":"2023-11-25T12:48:07.265Z","2.0.2":"2023-11-26T11:22:44.740Z","2.1.0":"2024-06-30T16:38:33.784Z","2.2.0":"2024-07-01T17:08:34.956Z","2.3.0":"2024-09-05T06:40:39.778Z","2.3.1":"2025-12-12T14:42:21.164Z","2.3.2":"2026-08-04T17:02:18.538Z"},"bugs":{"url":"https://github.com/jaywcjlove/rehype-video/issues"},"author":{"name":"jaywcjlove"},"license":"MIT","homepage":"https://jaywcjlove.github.io/rehype-video","keywords":["rehype","rehype-video","github-video","markdown","javascript","html","ast","unified"],"repository":{"type":"git","url":"git+https://github.com/jaywcjlove/rehype-video.git"},"description":"Markdown supports video play with `.mp4` and `.mov` URLs.","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"readme":"<div markdown=\"1\">\n  <sup>Using <a href=\"https://wangchujiang.com/#/app\" target=\"_blank\">my app</a> is also a way to <a href=\"https://wangchujiang.com/#/sponsor\" target=\"_blank\">support</a> me:</sup>\n  <br>\n  <a target=\"_blank\" href=\"https://wangchujiang.com/dock-lift/\" title=\"DockLift: Windows, Here\"><img alt=\"DockLift: Windows, Here\" height=\"52\" src=\"https://wangchujiang.com/appicon/dock-lift.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6766860898\" title=\"Zipora: Zip/RAR/7Z Unarchiver\"><img alt=\"Zipora: Zip/RAR/7Z Unarchiver\" height=\"52\" src=\"https://wangchujiang.com/appicon/zipora.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6758053530\" title=\"Scap: Screenshot & Markup Edit for macOS\"><img alt=\"Scap: Screenshot & Markup Edit\" height=\"52\" src=\"https://wangchujiang.com/appicon/scap.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6757317079\" title=\"Screen Test for macOS\"><img alt=\"Screen Test\" height=\"52\" src=\"https://wangchujiang.com/appicon/screen-test.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6755948110\" title=\"Deskmark for macOS\"><img alt=\"Deskmark\" height=\"52\" src=\"https://wangchujiang.com/appicon/deskmark.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6500434773\" title=\"Keyzer for macOS\"><img alt=\"Keyzer\" height=\"52\" src=\"https://wangchujiang.com/appicon/keyzer.png\"></a>\n  <a target=\"_blank\" href=\"https://github.com/jaywcjlove/vidwall-hub\" title=\"Vidwall Hub for macOS\"><img alt=\"Vidwall Hub\" height=\"52\" src=\"https://wangchujiang.com/appicon/vidwall-hub.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6752624705\" title=\"VidCrop for macOS\"><img alt=\"VidCrop\" height=\"52\" src=\"https://wangchujiang.com/appicon/vidcrop.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6747587746\" title=\"Vidwall for macOS\"><img alt=\"Vidwall\" height=\"52\" src=\"https://wangchujiang.com/appicon/vidwall.png\"></a>\n  <a target=\"_blank\" href=\"https://wangchujiang.com/mousio-hint/\" title=\"Mousio Hint for macOS\"><img alt=\"Mousio Hint\" height=\"52\" src=\"https://wangchujiang.com/appicon/mousio-hint.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6746747327\" title=\"Mousio for macOS\"><img alt=\"Mousio\" height=\"52\" src=\"https://wangchujiang.com/appicon/mousio.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6745227444\" title=\"Musicer for macOS\"><img alt=\"Musicer\" height=\"52\" src=\"https://wangchujiang.com/appicon/musicer.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6743841447\" title=\"Audioer for macOS\"><img alt=\"Audioer\" height=\"52\" src=\"https://wangchujiang.com/appicon/audioer.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6744690194\" title=\"FileSentinel for macOS\"><img alt=\"FileSentinel\" height=\"52\" src=\"https://wangchujiang.com/appicon/file-sentinel.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6743495172\" title=\"FocusCursor for macOS\"><img alt=\"FocusCursor\" height=\"52\" src=\"https://wangchujiang.com/appicon/focus-cursor.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6742680573\" title=\"Videoer for macOS\"><img alt=\"Videoer\" height=\"52\" src=\"https://wangchujiang.com/appicon/videoer.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6740425504\" title=\"KeyClicker for macOS\"><img alt=\"KeyClicker\" height=\"52\" src=\"https://wangchujiang.com/appicon/key-clicker.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6739052447\" title=\"DayBar for macOS\"><img alt=\"DayBar\" height=\"52\" src=\"https://wangchujiang.com/appicon/daybar.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6739444407\" title=\"Iconed for macOS\"><img alt=\"Iconed\" height=\"52\" src=\"https://wangchujiang.com/appicon/iconed.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6737160756\" title=\"Menuist for macOS\"><img alt=\"Menuist\" height=\"52\" src=\"https://wangchujiang.com/appicon/rightmenu-master.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6723903021\" title=\"Paste Quick for macOS\"><img alt=\"Quick RSS\" height=\"52\" src=\"https://wangchujiang.com/appicon/paste-quick.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6670696072&platform=mac\" title=\"Quick RSS for macOS/iOS\"><img alt=\"Quick RSS\" height=\"52\" src=\"https://wangchujiang.com/appicon/quick-rss.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6670167443\" title=\"Web Serve for macOS\"><img alt=\"Web Serve\" height=\"52\" src=\"https://wangchujiang.com/appicon/web-serve.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6503953628&platform=mac\" title=\"Copybook Generator for macOS/iOS\"><img alt=\"Copybook Generator\" height=\"52\" src=\"https://wangchujiang.com/appicon/copybook-generator.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6471227008&platform=mac\" title=\"DevTutor for macOS/iOS\"><img alt=\"DevTutor for SwiftUI\" height=\"52\" src=\"https://wangchujiang.com/appicon/devtutor.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6479819388&platform=mac\" title=\"RegexMate for macOS/iOS\"><img alt=\"RegexMate\" height=\"52\" src=\"https://wangchujiang.com/appicon/regex-mate.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6479194014&platform=mac\" title=\"Time Passage for macOS/iOS\"><img alt=\"Time Passage\" height=\"52\" src=\"https://wangchujiang.com/appicon/time-passage.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6478772538\" title=\"IconizeFolder for macOS\"><img alt=\"Iconize Folder\" height=\"52\" src=\"https://wangchujiang.com/appicon/iconize-folder.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6478511402&platform=mac\" title=\"Textsound Saver for macOS/iOS\"><img alt=\"Textsound Saver\" height=\"52\" src=\"https://wangchujiang.com/appicon/textsound-saver.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6476924627\" title=\"Create Custom Symbols for macOS\"><img alt=\"Create Custom Symbols\" height=\"52\" src=\"https://wangchujiang.com/appicon/create-custom-symbols.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6476452351\" title=\"DevHub for macOS\"><img alt=\"DevHub\" height=\"52\" src=\"https://wangchujiang.com/appicon/devhub.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6476400184\" title=\"Resume Revise for macOS\"><img alt=\"Resume Revise\" height=\"52\" src=\"https://wangchujiang.com/appicon/resume-revise.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6472593276\" title=\"Palette Genius for macOS\"><img alt=\"Palette Genius\" height=\"52\" src=\"https://wangchujiang.com/appicon/palette-genius.png\"></a>\n  <a target=\"_blank\" href=\"https://jaywcjlove.github.io/maslink/?id=6470879005\" title=\"Symbol Scribe for macOS\"><img alt=\"Symbol Scribe\" height=\"52\" src=\"https://wangchujiang.com/appicon/symbol-scribe.png\"></a>\n</div>\n<hr>\n\nrehype-video\n===\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy_Me_a_Coffee-ffdd00?logo=buy-me-a-coffee&logoColor=black)](https://jaywcjlove.github.io/#/sponsor)\n[![Follow On X](https://img.shields.io/badge/Follow%20on%20X-333333?logo=x&logoColor=white)](https://x.com/jaywcjlove)\n[![Downloads](https://img.shields.io/npm/dm/rehype-video.svg?style=flat)](https://www.npmjs.com/package/rehype-video)\n[![NPM version](https://img.shields.io/npm/v/rehype-video.svg?style=flat)](https://npmjs.org/package/rehype-video)\n[![Build](https://github.com/jaywcjlove/rehype-video/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/rehype-video/actions/workflows/ci.yml)\n[![Coverage Status](https://jaywcjlove.github.io/rehype-video/badges.svg)](https://jaywcjlove.github.io/rehype-video/lcov-report/)\n[![Repo Dependents](https://badgen.net/github/dependents-repo/jaywcjlove/rehype-video)](https://github.com/jaywcjlove/rehype-video/network/dependents)\n\nAdd improved video syntax: links to `.mp4` and `.mov` turn into videos. like [`github video`](https://github.blog/2021-05-13-video-uploads-available-github/) features.\n\nThe following is a sample test of the video preview in GitHub:\n\nhttps://user-images.githubusercontent.com/1680273/138299599-88547edd-859c-44c9-8b52-2cc06f7f2dd3.mov?!#title=Example%20Display\n\n## Installation\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c): Node 12+ is needed to use it and it must be import instead of require.\n\n```bash\nnpm install rehype-video\n```\n\n## Usage\n\n```js\nimport { unified } from 'unified';\nimport remark2rehype from 'remark-rehype';\nimport remarkParse from 'remark-parse';\nimport rehypeVideo from 'rehype-video';\nimport stringify from 'rehype-stringify';\n\nconst string = `\nhttps://files.github.com/001.mp4 hi!\n\nhttps://files.github.com/002.mp4\n\nGood \\`idea\\`!!\n\nhttps://github.com/002.mp4?!#title=Custom%20Title\n`;\n\nconst htmlStr = unified()\n  .use(remarkParse)\n  .use(remark2rehype, { allowDangerousHtml: true })\n  .use(rehypeVideo)\n  .use(stringify)\n  .processSync(string)\n  .toString();\n```\n\nOutput:\n\n```html\n<p>https://files.github.com/001.mp4 hi!</p>\n<details open>\n  <summary>\n    <svg aria-hidden height=\"16\" width=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" class=\"octicon octicon-device-camera-video\"><path fill-rule=\"evenodd\" d=\"M16 3.75a.75.75 0 00-1.136-.643L11 5.425V4.75A1.75 1.75 0 009.25 3h-7.5A1.75 1.75 0 000 4.75v6.5C0 12.216.784 13 1.75 13h7.5A1.75 1.75 0 0011 11.25v-.675l3.864 2.318A.75.75 0 0016 12.25v-8.5zm-5 5.075l3.5 2.1v-5.85l-3.5 2.1v1.65zM9.5 6.75v-2a.25.25 0 00-.25-.25h-7.5a.25.25 0 00-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-4.5z\"></path></svg>\n    <span aria-label=\"Video description 002.mp4\">002.mp4</span>\n    <span class=\"dropdown-caret\"></span>\n  </summary>\n  <video muted controls style=\"max-height:640px;\" src=\"https://github.com/002.mp4\"></video>\n</details>\n<p>Good <code>idea</code>!!</p>\n<details open>\n  <summary>\n    <svg aria-hidden height=\"16\" width=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" class=\"octicon octicon-device-camera-video\"><path fill-rule=\"evenodd\" d=\"M16 3.75a.75.75 0 00-1.136-.643L11 5.425V4.75A1.75 1.75 0 009.25 3h-7.5A1.75 1.75 0 000 4.75v6.5C0 12.216.784 13 1.75 13h7.5A1.75 1.75 0 0011 11.25v-.675l3.864 2.318A.75.75 0 0016 12.25v-8.5zm-5 5.075l3.5 2.1v-5.85l-3.5 2.1v1.65zM9.5 6.75v-2a.25.25 0 00-.25-.25h-7.5a.25.25 0 00-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-4.5z\"></path></svg>\n    <span aria-label=\"Video description Custom Title\">Custom Title</span>\n    <span class=\"dropdown-caret\"></span>\n  </summary>\n  <video muted controls style=\"max-height:640px;\" src=\"https://github.com/002.mp4\"></video>\n</details>\n```\n\n### Example 1\n\n```js\nimport { rehype } from 'rehype';\nimport rehypeVideo from 'rehype-video';\n\nconst mrkStr = `<p>https://github.com/004.mp4</p>`;\nconst htmlStr = rehype()\n  .data('settings', { fragment: true })\n  .use(rehypeVideo, { details: false })\n  .processSync(mrkStr)\n  .toString();\n```\n\nOutput:\n\n```html\n<video muted controls style=\"max-height:640px;\" src=\"https://github.com/004.mp4\"></video>\n```\n\n### Example 2\n\n```js\nimport { rehype } from 'rehype';\nimport rehypeVideo from 'rehype-video';\n\nconst mrkStr = `<p><a href=\"https://github.com/004.mp4\">https://github.com/004.mp4</a></p`;\nconst htmlStr = rehype()\n  .data('settings', { fragment: true })\n  .use(rehypeVideo, { details: false })\n  .processSync(mrkStr)\n  .toString();\n```\n\nOutput:\n\n```html\n<video muted controls style=\"max-height:640px;\" src=\"https://github.com/004.mp4\"></video>\n```\n\n### Example 3\n\n```js\nimport remarkParse from 'remark-parse';\nimport rehypeVideo from 'rehype-video';\nimport { unified } from 'unified';\nimport remark2rehype from 'remark-rehype';\nimport remarkParse from 'remark-parse';\nimport stringify from 'rehype-stringify';\n\nconst mrkStr = 'https://github.com/user-attachments/assets/0d808e2e-84c7-46ca-a220-440fa9f34118?title=rehype-video&rehype=video'\n\nconst htmlStr = unified()\n  .use(remarkParse)\n  .use(remark2rehype, { allowDangerousHtml: true })\n  .use(rehypeVideo, {\n    test: (url) => {\n      return /\\.(mp4|mov)|[?&]rehype=video/i.test(url);\n    }\n  })\n  .use(stringify)\n  .processSync(mrkStr)\n  .toString();\n```\n\nOutput:\n\n```html\n<details open class=\"octicon octicon-video\">\n  <summary>\n    <svg aria-hidden height=\"16\" width=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" data-view-component class=\"octicon octicon-device-camera-video\"><path fill-rule=\"evenodd\" d=\"M16 3.75a.75.75 0 00-1.136-.643L11 5.425V4.75A1.75 1.75 0 009.25 3h-7.5A1.75 1.75 0 000 4.75v6.5C0 12.216.784 13 1.75 13h7.5A1.75 1.75 0 0011 11.25v-.675l3.864 2.318A.75.75 0 0016 12.25v-8.5zm-5 5.075l3.5 2.1v-5.85l-3.5 2.1v1.65zM9.5 6.75v-2a.25.25 0 00-.25-.25h-7.5a.25.25 0 00-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-4.5z\"></path></svg>\n    <span aria-label=\"Video description rehype-video\">rehype-video</span><span class=\"dropdown-caret\"></span>\n  </summary>\n  <video muted controls style=\"max-height:640px;\" src=\"https://github.com/user-attachments/assets/0d808e2e-84c7-46ca-a220-440fa9f34118?title=rehype-video&#x26;rehype=video\">\n</video>\n</details>\n```\n\n## Custom Title\n\nDefine custom title parameter(E.g: `title=RehypeVideo`) with hash route:\n\n```js\nconst string = `https://github.com/002.mp4?!#title=Custom%20Title`;\nconst htmlStr = unified()\n  .use(remarkParse)\n  .use(remark2rehype, { allowDangerousHtml: true })\n  .use(rehypeVideo)\n  .use(stringify)\n  .processSync(string)\n  .toString();\n```\n\nOutput:\n\n```html\n<details open>\n  <summary>\n    <svg aria-hidden height=\"16\" width=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" class=\"octicon octicon-device-camera-video\"><path fill-rule=\"evenodd\" d=\"M16 3.75a.75.75 0 00-1.136-.643L11 5.425V4.75A1.75 1.75 0 009.25 3h-7.5A1.75 1.75 0 000 4.75v6.5C0 12.216.784 13 1.75 13h7.5A1.75 1.75 0 0011 11.25v-.675l3.864 2.318A.75.75 0 0016 12.25v-8.5zm-5 5.075l3.5 2.1v-5.85l-3.5 2.1v1.65zM9.5 6.75v-2a.25.25 0 00-.25-.25h-7.5a.25.25 0 00-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-4.5z\"></path></svg>\n    <span aria-label=\"Video description Custom Title\">Custom Title</span>\n    <span class=\"dropdown-caret\"></span>\n  </summary>\n  <video muted controls style=\"max-height:640px;\" src=\"https://github.com/002.mp4\"></video>\n</details>\n```\n\n## \\<track>\n\nWe will reference all two of the relevant VTT files by adding [\\<track>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track) elements inside our HTML [\\<video>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video) element:\n\n```js\nconst mrkStr = `https://github.com/sintel-short.mp4?!#track['en']=captions/vtt/sintel-en.vtt&track['en:label']=English&track['en:kind']=subtitles&track['en:default']=true&track['de']=captions/vtt/sintel-de.vtt&track['de:label']=Deutsch&track['de:kind']=subtitles`;\nconst htmlStr = unified()\n  .use(remarkParse)\n  .use(remark2rehype, { allowDangerousHtml: true })\n  .use(rehypeVideo, { })\n  .use(stringify)\n  .processSync(mrkStr)\n  .toString();\n```\n\nOutput:\n\n```html\n<details open class=\"octicon octicon-video\">\n  <summary>\n    <svg aria-hidden height=\"16\" width=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" data-view-component class=\"octicon octicon-device-camera-video\">\n      <path fill-rule=\"evenodd\" d=\"M16 3.75a.75.75 0 00-1.136-.643L11 5.425V4.75A1.75 1.75 0 009.25 3h-7.5A1.75 1.75 0 000 4.75v6.5C0 12.216.784 13 1.75 13h7.5A1.75 1.75 0 0011 11.25v-.675l3.864 2.318A.75.75 0 0016 12.25v-8.5zm-5 5.075l3.5 2.1v-5.85l-3.5 2.1v1.65zM9.5 6.75v-2a.25.25 0 00-.25-.25h-7.5a.25.25 0 00-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-4.5z\"></path>\n    </svg>\n    <span aria-label=\"Video description sintel-short.mp4\">sintel-short.mp4</span>\n    <span class=\"dropdown-caret\"></span>\n  </summary>\n  <video muted controls style=\"max-height:640px;\" src=\"https://github.com/sintel-short.mp4?!#track[&#x27;en&#x27;]=captions/vtt/sintel-en.vtt&#x26;track[&#x27;en:label&#x27;]=English&#x26;track[&#x27;en:kind&#x27;]=subtitles&#x26;track[&#x27;en:default&#x27;]=true&#x26;track[&#x27;de&#x27;]=captions/vtt/sintel-de.vtt&#x26;track[&#x27;de:label&#x27;]=Deutsch&#x26;track[&#x27;de:kind&#x27;]=subtitles\">\n    <track kind=\"subtitles\" src=\"captions/vtt/sintel-en.vtt\" label=\"English\" default>\n    <track kind=\"subtitles\" src=\"captions/vtt/sintel-de.vtt\" label=\"Deutsch\">\n  </video>\n</details>\n```\n\n## Options\n\n```ts\nexport declare type RehypeVideoOptions = {\n  /**\n   * URL suffix verification.\n   * @default /\\/(.*)(.mp4|.mov)$/\n   */\n  test?: RegExp;\n  /**\n   * Support `<details>` tag to wrap <video>.\n   * @default true\n   */\n  details?: boolean;\n  /**\n   * Support `<track>` tag to wrap <video>.\n   * @default true\n   */\n  track?: boolean;\n};\n```\n\n## Related\n\n- [`rehype-attr`](https://github.com/jaywcjlove/rehype-attr) New syntax to add attributes to Markdown.\n- [`rehype-rewrite`](https://github.com/jaywcjlove/rehype-rewrite) Rewrite element with rehype.\n- [`rehype-ignore`](https://github.com/jaywcjlove/rehype-ignore) Ignore content display via HTML comments, Shown in GitHub readme, excluded in HTML.\n- [`remark-github-blockquote-alert`](https://github.com/jaywcjlove/remark-github-blockquote-alert) Remark plugin to add support for [GitHub Alert](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts)\n\n## License\n\nMIT © [Kenny Wong](https://github.com/jaywcjlove)\n","readmeFilename":"README.md"}