{"id":4054,"date":"2026-11-18T22:05:17","date_gmt":"2026-11-18T14:05:17","guid":{"rendered":"https:\/\/www.aitoolsoft.com\/video-downloader.html"},"modified":"2026-11-18T23:05:07","modified_gmt":"2026-11-18T15:05:07","slug":"video-downloader","status":"publish","type":"page","link":"https:\/\/www.aitoolsoft.com\/zh\/video-downloader.html","title":{"rendered":"\u514d\u8d39\u5728\u7ebf\u89c6\u9891\u4e0b\u8f7d\u5668 \u2013 \u4ece\u4efb\u4f55\u94fe\u63a5\u4fdd\u5b58\u89c6\u9891"},"content":{"rendered":"\r\n<style>\r\nhtml body{background-image:none!important;background-color:#fff!important;background-attachment:scroll!important}\r\n.entry-content{max-width:100%!important}\r\n.ait-video-downloader{--ink:#152b29;--muted:#697d78;--green:#147b64;--line:#dfe8e3;--soft:#f2f7f3;--cream:#fafcf9}.ait-video-downloader *{box-sizing:border-box}.ait-video-downloader{scroll-behavior:smooth}.ait-video-downloader{margin:0;color:var(--ink);background:var(--cream);font-family:Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"PingFang SC\",\"Microsoft YaHei\",sans-serif;font-size:15px;line-height:1.65}.ait-video-downloader button, .ait-video-downloader input, .ait-video-downloader a, .ait-video-downloader summary{-webkit-tap-highlight-color:transparent}.ait-video-downloader button, .ait-video-downloader input{font:inherit}.ait-video-downloader button, .ait-video-downloader a{touch-action:manipulation}.ait-video-downloader button{cursor:pointer}.ait-video-downloader button:disabled{cursor:wait;opacity:.6}.ait-video-downloader a{color:inherit;text-decoration:none}.ait-video-downloader a:hover{text-decoration:underline}.ait-video-downloader button:focus-visible, .ait-video-downloader a:focus-visible, .ait-video-downloader summary:focus-visible{outline:3px solid #54ab90;outline-offset:5px}.ait-video-downloader svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.ait-video-downloader header{height:84px;max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.ait-video-downloader .brand{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:750;letter-spacing:-.7px}.ait-video-downloader .brand-icon{width:33px;height:33px;border-radius:10px;color:white;background:var(--green);display:grid;place-items:center}.ait-video-downloader .brand-icon svg{width:23px;height:23px}.ait-video-downloader .brand small{font-weight:400;color:var(--muted)}.ait-video-downloader nav{display:flex;gap:30px;align-items:center;font-size:13px}.ait-video-downloader nav .pill{border:1px solid var(--line);padding:7px 13px;border-radius:30px;font-size:12px;background:white}.ait-video-downloader .hero{position:relative;padding:45px 24px 58px;text-align:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#eaf3eab0,transparent 69%)}.ait-video-downloader .hero:before{content:\"\";position:absolute;inset:0;background-image:radial-gradient(#9cb8a947 .8px,transparent .8px);background-size:22px 22px;mask-image:linear-gradient(transparent,black 30%,transparent);pointer-events:none;z-index:0}.ait-video-downloader .hero>*{position:relative}.ait-video-downloader .eyebrow{display:inline-flex;align-items:center;gap:8px;background:#e8f1e9;padding:5px 12px;border-radius:20px;color:#426657;font-size:11px;font-weight:600;letter-spacing:1.7px}.ait-video-downloader .dot{height:6px;width:6px;background:#4d8d66;border-radius:50%}.ait-video-downloader h1{font-size:clamp(34px,4.3vw,57px);line-height:1.23;letter-spacing:-2px;font-weight:750;margin:22px 0 15px}.ait-video-downloader h1 em{font-style:normal;color:var(--green)}.ait-video-downloader .intro{color:var(--muted);font-size:15px;max-width:560px;margin:0 auto}.ait-video-downloader .platforms{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;align-items:center;margin:24px auto 23px;font-size:12px}.ait-video-downloader .platform{display:flex;align-items:center;gap:7px;border:1px solid #dce7df;border-radius:8px;padding:6px 11px;background:#fff9}.ait-video-downloader .x{font-size:16px;font-weight:650;line-height:1}.ait-video-downloader .tag{font-size:10px;color:#687c73;background:#edf2ed;border-radius:4px;padding:1px 5px}.ait-video-downloader .downloader{background:#fff;border:1px solid #dce7df;border-radius:18px;max-width:790px;margin:auto;box-shadow:0 18px 55px #1c4b3420;text-align:left;padding:26px}.ait-video-downloader .field-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ait-video-downloader .field-title label{font-size:13px;font-weight:650}.ait-video-downloader .clear{border:0;background:none;color:#7b8c85;font-size:12px;padding:2px 0}.ait-video-downloader .input-row{display:flex;gap:10px}.ait-video-downloader .input-shell{display:flex;align-items:center;flex:1;border:1px solid #d8e2dc;border-radius:10px;padding:0 13px;background:#fcfdfb;min-width:0}.ait-video-downloader .input-shell:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #147b6412}.ait-video-downloader .input-shell svg{width:18px;color:#8b9e93}.ait-video-downloader input{width:100%;height:54px;background:none;border:0;outline:none;min-width:0;padding:0 12px;font-size:13px;color:var(--ink)}.ait-video-downloader input::placeholder{color:#96a39c}.ait-video-downloader .paste{display:flex;align-items:center;gap:5px;border:0;border-left:1px solid #dde5df;background:transparent;color:var(--green);font-size:12px;padding:2px 0 2px 10px;white-space:nowrap}.ait-video-downloader .paste svg{width:15px;color:inherit}.ait-video-downloader .primary{background:var(--green);color:white;border:0;border-radius:10px;padding:0 24px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;min-height:50px}.ait-video-downloader .primary:hover{background:#116650}.ait-video-downloader .primary svg{width:18px}.ait-video-downloader .input-help{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;color:#7d8d84;font-size:11px}.ait-video-downloader .demo-btn{border:0;background:none;color:var(--green);padding:0;display:inline-flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}.ait-video-downloader .demo-btn svg{width:14px;height:14px}.ait-video-downloader .divider{height:1px;background:#edf1ed;margin:22px 0 16px}.ait-video-downloader .prototype-note{display:flex;gap:9px;align-items:flex-start;font-size:11px;color:#7c7b68;line-height:1.7}.ait-video-downloader .prototype-note svg{width:15px;height:15px;margin-top:2px}.ait-video-downloader .prototype-note strong{font-weight:600;color:#666c59}.ait-video-downloader .trust{display:flex;gap:28px;justify-content:center;font-size:11px;color:#6e8477;margin:21px 0 0}.ait-video-downloader .trust span{display:flex;align-items:center;gap:6px}.ait-video-downloader .trust svg{width:15px;height:15px}.ait-video-downloader .status{margin:17px 0 0;padding:12px 14px;border-radius:9px;background:#eef6f1;color:#3c6a55;font-size:12px;display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}.ait-video-downloader .status.error{background:#fff3ed;color:#9e5234}.ait-video-downloader .status[hidden], .ait-video-downloader .result[hidden]{display:none}.ait-video-downloader .spinner{width:16px;height:16px;border:2px solid #c4dace;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.ait-video-downloader .result{margin-top:20px;border-top:1px solid var(--line);padding-top:20px}.ait-video-downloader .result-top{display:flex;gap:18px}.ait-video-downloader .preview{width:228px;max-width:40%;aspect-ratio:16\/9;background:#e8f0eb;border-radius:9px;overflow:hidden;display:grid;place-items:center;position:relative}.ait-video-downloader .preview video{width:100%;height:100%;object-fit:contain;background:#112b25}.ait-video-downloader .result-info{flex:1;min-width:0;text-align:left}.ait-video-downloader .result-label{color:var(--green);font-size:10px;letter-spacing:1.2px;font-weight:650}.ait-video-downloader .result h3{margin:6px 0;font-size:16px;overflow-wrap:anywhere;line-height:1.5}.ait-video-downloader .meta{color:var(--muted);font-size:12px}.ait-video-downloader .format{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f8f4;border:1px solid #e4ebe4;padding:12px 15px;border-radius:10px;margin-top:17px}.ait-video-downloader .format strong{font-size:13px}.ait-video-downloader .format small{display:block;font-size:11px;color:var(--muted)}.ait-video-downloader .save{min-height:39px;padding:0 16px;font-size:12px;border-radius:8px}.ait-video-downloader .result-foot{color:#859188;font-size:10px;margin:10px 0 0}.ait-video-downloader .content{max-width:1050px;margin:auto;padding:10px 28px 60px}.ait-video-downloader .section-top{display:flex;justify-content:space-between;align-items:end;margin:18px 0 27px}.ait-video-downloader .kicker{font-size:10px;letter-spacing:2px;color:var(--green);font-weight:650;margin-bottom:8px}.ait-video-downloader h2{font-size:25px;font-weight:650;letter-spacing:-.7px;margin:0}.ait-video-downloader .section-top p{font-size:12px;color:var(--muted);margin:0}.ait-video-downloader .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.ait-video-downloader .step{border-top:1px solid #d8e3da;padding-top:20px}.ait-video-downloader .step-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.ait-video-downloader .number{font-size:12px;color:#8ca190;font-variant-numeric:tabular-nums}.ait-video-downloader .step-icon{width:34px;height:34px;display:grid;place-items:center;background:#edf3ec;border-radius:9px;color:var(--green)}.ait-video-downloader .step-icon svg{width:17px}.ait-video-downloader .step h3{font-size:14px;font-weight:650;margin:0 0 6px}.ait-video-downloader .step p{font-size:12px;color:var(--muted);margin:0;line-height:1.9}.ait-video-downloader .faq{display:grid;grid-template-columns:1fr 1.5fr;gap:70px;margin-top:61px;padding-top:34px;border-top:1px solid var(--line)}.ait-video-downloader .faq-intro p{font-size:12px;color:var(--muted);max-width:230px;margin-top:12px}.ait-video-downloader details{border-bottom:1px solid var(--line)}.ait-video-downloader summary{font-size:13px;font-weight:550;cursor:pointer;padding:16px 23px 16px 0;list-style:none;position:relative}.ait-video-downloader summary::-webkit-details-marker{display:none}.ait-video-downloader summary:after{content:\"+\";position:absolute;right:2px;color:#6d8a76;font-size:18px;top:11px;font-weight:400}.ait-video-downloader details[open] summary:after{content:\"\u2212\"}.ait-video-downloader details p{font-size:12px;color:var(--muted);margin:0;padding:0 16px 18px 0;line-height:1.9}.ait-video-downloader footer{max-width:1180px;margin:auto;border-top:1px solid var(--line);padding:24px 28px;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:11px;color:#849188}.ait-video-downloader footer .foot-brand{color:#536f5f;font-weight:600}.ait-video-downloader footer a{margin-left:18px}.ait-video-downloader .legal{max-width:650px;margin:0 auto 25px;text-align:center;font-size:10px;color:#8a988e;padding:0 25px}.ait-video-downloader noscript{display:block;padding:14px;background:#fff0e5}.ait-video-downloader .demo-scene{width:100%;height:100%;background:linear-gradient(#9dbab2,#e2dfc3 68%,#40755d 68%);position:relative;overflow:hidden}.ait-video-downloader .demo-scene:before{content:\"\";position:absolute;width:43px;height:43px;background:#fff4ce;border-radius:50%;top:18%;left:65%}.ait-video-downloader .demo-scene:after{content:\"\";position:absolute;left:-12%;bottom:-40%;width:125%;height:95%;border-radius:50%;background:#2d5a48;transform:rotate(-13deg)}.ait-video-downloader .scene-text{position:absolute;bottom:13px;left:15px;color:white;z-index:1;font-size:9px;letter-spacing:2px}.ait-video-downloader .demo-badge{font-size:10px;background:#edf2e9;color:#77836a;padding:3px 8px;border-radius:5px;display:inline-block;margin-top:7px}@media(max-width:680px){.ait-video-downloader header{height:68px;padding:0 20px}.ait-video-downloader .brand{font-size:20px}.ait-video-downloader nav{gap:14px}.ait-video-downloader nav a{display:none}.ait-video-downloader nav .pill{font-size:10px}.ait-video-downloader .hero{padding:30px 16px 35px}.ait-video-downloader h1{letter-spacing:-1px;margin-top:20px}.ait-video-downloader .intro{font-size:13px;padding:0 12px}.ait-video-downloader .downloader{padding:20px 16px;border-radius:15px}.ait-video-downloader .input-row{flex-wrap:wrap}.ait-video-downloader .input-shell{flex-basis:100%}.ait-video-downloader .primary{width:100%;min-height:48px}.ait-video-downloader .save{width:auto;min-height:38px}.ait-video-downloader .input-help{align-items:flex-start;font-size:10px}.ait-video-downloader .input-help>span{max-width:65%}.ait-video-downloader .trust{gap:15px;font-size:10px}.ait-video-downloader .section-top{display:block}.ait-video-downloader .section-top p{margin-top:10px}.ait-video-downloader .content{padding:5px 22px 38px}.ait-video-downloader .steps{grid-template-columns:1fr;gap:22px}.ait-video-downloader .step{display:grid;grid-template-columns:46px 1fr;column-gap:13px;padding-top:15px}.ait-video-downloader .step-head{grid-row:1\/3;display:flex;flex-direction:column-reverse;justify-content:start;gap:9px;margin:0}.ait-video-downloader .step h3{margin-top:1px}.ait-video-downloader .faq{grid-template-columns:1fr;gap:10px;margin-top:35px;padding-top:25px}.ait-video-downloader .faq-intro p{max-width:none}.ait-video-downloader .result-top{gap:13px}.ait-video-downloader .preview{max-width:37%}.ait-video-downloader .result h3{font-size:13px}.ait-video-downloader .meta{font-size:10px}.ait-video-downloader .format{padding:10px}.ait-video-downloader .result-label{font-size:9px}.ait-video-downloader footer{padding:20px 22px;align-items:start;flex-direction:column;gap:8px}.ait-video-downloader footer a{margin-left:0;margin-right:18px}}@media(prefers-reduced-motion:reduce){.ait-video-downloader{scroll-behavior:auto}.ait-video-downloader .spinner{animation:none}}.ait-video-downloader select{display:block;max-width:100%;margin-top:6px;padding:5px 8px;border:1px solid #d6e1d9;border-radius:6px;color:var(--ink);background:white;font:inherit;font-size:12px}.ait-video-downloader select:focus-visible{outline:2px solid var(--green)}.ait-video-downloader .status{scroll-margin-top:20px}.ait-video-downloader [hidden]{display:none!important}\r\n\r\n\/* ===== Site theme adapter: align with .ait-v2 tool pages ===== *\/\r\nhtml body{background-image:none!important;background-color:#fff!important}\r\n\r\n.ait-video-downloader{\r\n  --ink:#172033;--muted:#667085;--green:#3567e5;--line:#e5e9f2;\r\n  --soft:#f6f8fc;--cream:#ffffff;--blue:#3567e5;--violet:#7158e8;\r\n  background:#fff;color:var(--ink);font-size:16px;line-height:1.65\r\n}\r\n\r\n\/* hero *\/\r\n.ait-video-downloader .hero{\r\n  padding:84px 24px 70px;\r\n  background:radial-gradient(circle at 82% 12%,rgba(113,88,232,.16),transparent 30%),\r\n             radial-gradient(circle at 15% 86%,rgba(53,103,229,.14),transparent 30%),\r\n             linear-gradient(145deg,#fbfcff,#f3f6fc)\r\n}\r\n.ait-video-downloader .hero:before{display:none}\r\n.ait-video-downloader .eyebrow{\r\n  background:#fff;border:1px solid #dce4f5;color:#3e5fa8;\r\n  font-size:12px;font-weight:800;letter-spacing:.055em;\r\n  text-transform:uppercase;padding:8px 14px;border-radius:999px\r\n}\r\n.ait-video-downloader .dot{background:var(--violet)}\r\n.ait-video-downloader h1{\r\n  font-size:clamp(40px,6vw,68px);line-height:1.05;letter-spacing:-.05em;\r\n  font-weight:800;margin:26px 0 20px\r\n}\r\n.ait-video-downloader h1 em{color:var(--blue)}\r\n.ait-video-downloader .intro{\r\n  color:var(--muted);font-size:18px;line-height:1.72;max-width:660px\r\n}\r\n.ait-video-downloader .platforms{gap:10px;margin:26px auto 26px;font-size:13px}\r\n.ait-video-downloader .platform{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px}\r\n.ait-video-downloader .tag{background:var(--soft);color:var(--muted);border-radius:6px;padding:2px 7px;font-size:10px}\r\n.ait-video-downloader .x{font-size:15px;font-weight:800}\r\n\r\n\/* input card *\/\r\n.ait-video-downloader .downloader{\r\n  background:#fff;border:1px solid var(--line);border-radius:24px;\r\n  max-width:880px;padding:30px;box-shadow:0 18px 55px rgba(23,32,51,.09)\r\n}\r\n.ait-video-downloader .field-title label{font-size:14px;font-weight:800}\r\n.ait-video-downloader .clear{color:var(--muted);font-size:12px}\r\n.ait-video-downloader .input-shell{\r\n  border:1px solid var(--line);background:#fff;border-radius:12px\r\n}\r\n.ait-video-downloader .input-shell:focus-within{\r\n  border-color:var(--blue);box-shadow:0 0 0 3px rgba(53,103,229,.14)\r\n}\r\n.ait-video-downloader .input-shell svg{color:var(--muted)}\r\n.ait-video-downloader input{font-size:14px;height:56px}\r\n.ait-video-downloader input::placeholder{color:#98a2b3}\r\n.ait-video-downloader .paste{border-left:1px solid var(--line);color:var(--blue);font-size:13px;font-weight:700}\r\n.ait-video-downloader .primary{\r\n  background:linear-gradient(135deg,var(--blue),var(--violet));\r\n  border-radius:12px;min-height:54px;padding:0 26px;font-weight:800;font-size:14px\r\n}\r\n.ait-video-downloader .primary:hover{background:linear-gradient(135deg,#2a55c9,#5f47d4)}\r\n.ait-video-downloader .input-help{color:var(--muted);font-size:12px}\r\n.ait-video-downloader .demo-btn{color:var(--blue);font-size:12px;font-weight:700}\r\n.ait-video-downloader .divider{background:var(--line);margin:24px 0 18px}\r\n.ait-video-downloader .prototype-note{color:var(--muted);font-size:12px;line-height:1.75}\r\n.ait-video-downloader .prototype-note strong{color:var(--ink);font-weight:700}\r\n.ait-video-downloader .trust{color:var(--muted);font-size:12px;gap:24px;margin-top:22px}\r\n.ait-video-downloader .status{background:#eef2fd;color:#2f4f9e;border-radius:10px;font-size:13px}\r\n.ait-video-downloader .status.error{background:#fff3ed;color:#9e5234}\r\n.ait-video-downloader .spinner{border-color:#d7def7;border-top-color:var(--blue)}\r\n.ait-video-downloader .preview{background:var(--soft)}\r\n.ait-video-downloader .result-label{color:var(--blue)}\r\n.ait-video-downloader .format{background:var(--soft);border:1px solid var(--line);border-radius:12px}\r\n.ait-video-downloader .result-foot{color:var(--muted)}\r\n.ait-video-downloader .meta{color:var(--muted)}\r\n\r\n\/* sections *\/\r\n.ait-video-downloader .content{max-width:1120px;padding:80px 24px 96px}\r\n.ait-video-downloader .section-top{margin:0 0 34px}\r\n.ait-video-downloader .kicker{\r\n  color:#3e5fa8;font-size:12px;font-weight:800;letter-spacing:.055em;\r\n  text-transform:uppercase;margin-bottom:10px\r\n}\r\n.ait-video-downloader h2{font-size:clamp(28px,3.4vw,40px);line-height:1.15;letter-spacing:-.04em;font-weight:800}\r\n.ait-video-downloader .section-top p{font-size:15px;color:var(--muted)}\r\n\r\n\/* steps *\/\r\n.ait-video-downloader .steps{gap:40px}\r\n.ait-video-downloader .step{border-top:1px solid var(--line);padding-top:26px}\r\n.ait-video-downloader .number{font-size:12px;color:#98a2b3;font-weight:700}\r\n.ait-video-downloader .step-icon{\r\n  width:40px;height:40px;background:#eef2fd;color:var(--blue);border-radius:12px\r\n}\r\n.ait-video-downloader .step h3{font-size:17px;font-weight:800;margin:0 0 8px}\r\n.ait-video-downloader .step p{font-size:14px;color:var(--muted);line-height:1.75}\r\n\r\n\/* faq *\/\r\n.ait-video-downloader .faq{\r\n  grid-template-columns:1fr 1.45fr;gap:80px;margin-top:80px;padding-top:64px;border-top:1px solid var(--line)\r\n}\r\n.ait-video-downloader .faq-intro p{font-size:15px;color:var(--muted);max-width:300px}\r\n.ait-video-downloader details{border-bottom:1px solid var(--line)}\r\n.ait-video-downloader summary{font-size:16px;font-weight:700;padding:20px 28px 20px 0}\r\n.ait-video-downloader summary:after{color:var(--muted);font-size:20px;top:16px}\r\n.ait-video-downloader details p{font-size:14px;color:var(--muted);line-height:1.8;padding:0 16px 20px 0}\r\n.ait-video-downloader .legal{color:var(--muted)}\r\n.ait-video-downloader select{border:1px solid var(--line)}\r\n.ait-video-downloader button:focus-visible,\r\n.ait-video-downloader a:focus-visible,\r\n.ait-video-downloader summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}\r\n\r\n@media(max-width:820px){\r\n  .ait-video-downloader .hero{padding:52px 18px 44px}\r\n  .ait-video-downloader .intro{font-size:16px}\r\n  .ait-video-downloader .content{padding:52px 22px 64px}\r\n  .ait-video-downloader .faq{gap:28px;margin-top:52px;padding-top:40px}\r\n  .ait-video-downloader .downloader{padding:22px;border-radius:20px}\r\n}\r\n@media(max-width:580px){\r\n  .ait-video-downloader h1{font-size:clamp(30px,8vw,40px)}\r\n  .ait-video-downloader .intro{font-size:15px;padding:0}\r\n  .ait-video-downloader .steps{gap:26px}\r\n  .ait-video-downloader summary{font-size:15px;padding:16px 24px 16px 0}\r\n  .ait-video-downloader summary:after{top:13px}\r\n}\r\n\r\n\r\n\/* hero alignment fix: theme resets heading alignment *\/\r\n.ait-video-downloader .hero{text-align:center}\r\n.ait-video-downloader .hero h1{\r\n  text-align:center!important;max-width:1000px;margin:26px auto 20px;\r\n  text-wrap:balance\r\n}\r\n.ait-video-downloader .hero .intro{text-align:center;margin-left:auto;margin-right:auto}\r\n.ait-video-downloader .hero .platforms{justify-content:center}\r\n.ait-video-downloader .hero .trust{justify-content:center}\r\n.ait-video-downloader .hero .eyebrow{margin-left:auto;margin-right:auto}\r\n\r\n\/* more online tools *\/\r\n.ait-video-downloader .more-tools-wrap{border-top:1px solid var(--line)}\r\n.ait-video-downloader .more-tools{padding:64px 24px 88px;max-width:1120px;margin:0 auto}\r\n.ait-video-downloader .more-tools h2{font-size:clamp(24px,2.6vw,32px);margin:0 0 20px}\r\n.ait-video-downloader .more-tools nav{display:flex;flex-wrap:wrap;gap:10px}\r\n.ait-video-downloader .more-tools a{padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:13px;font-weight:700;text-decoration:none}\r\n.ait-video-downloader .more-tools a:hover{border-color:var(--blue);color:var(--blue)}\r\n\r\n\/* headline em: inherit display font, no theme serif\/italic *\/\r\n.ait-video-downloader h1 em{font-family:inherit!important;font-style:normal!important;font-weight:inherit;letter-spacing:inherit;color:var(--blue)}\r\n\n\/* trust row: force centered *\/\n.ait-video-downloader .hero .trust{\n  display:flex!important;flex-wrap:wrap;\n  justify-content:center!important;align-items:center;\n  text-align:center;column-gap:28px;row-gap:10px;\n  max-width:760px;margin:22px auto 0\n}\n<\/style>\r\n<div class=\"ait-video-downloader\">\r\n<svg style=\"display:none\" aria-hidden=\"true\"><defs>\r\n<symbol id=\"i-down\" viewBox=\"0 0 24 24\"><path d=\"M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4\"\/><\/symbol>\r\n<symbol id=\"i-link\" viewBox=\"0 0 24 24\"><path d=\"m10 13 4-4m-6 6-2 2a4.2 4.2 0 0 1-6-6l4-4a4.2 4.2 0 0 1 6 0m2 2 2-2a4.2 4.2 0 1 1 6 6l-4 4a4.2 4.2 0 0 1-6 0\" transform=\"translate(2 0)\"\/><\/symbol>\r\n<symbol id=\"i-check\" viewBox=\"0 0 24 24\"><path d=\"m5 12 4 4L19 6\"\/><\/symbol>\r\n<symbol id=\"i-clip\" viewBox=\"0 0 24 24\"><rect x=\"6\" y=\"5\" width=\"13\" height=\"16\" rx=\"2\"\/><path d=\"M9 5V3h7v4H9M3 16V3h3\"\/><\/symbol>\r\n<symbol id=\"i-play\" viewBox=\"0 0 24 24\"><path d=\"m9 5 10 7-10 7z\"\/><\/symbol>\r\n<symbol id=\"i-info\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"9\"\/><path d=\"M12 11v6m0-10v.5\"\/><\/symbol>\r\n<symbol id=\"i-arrow\" viewBox=\"0 0 24 24\"><path d=\"M4 12h16m-6-6 6 6-6 6\"\/><\/symbol>\r\n<\/defs><\/svg>\r\n<div class=\"vd-main\">\r\n\r\n<section class=\"hero\" aria-labelledby=\"title\">\r\n<div class=\"eyebrow\"><span class=\"dot\"><\/span> SAVE A MOMENT. KEEP IT CLOSE.<\/div>\r\n<h1 id=\"title\">Videos you love,<em> saved with ease.<\/em><\/h1>\r\n<p class=\"intro\">Paste a link, preview the video, and save it to your device.<br>Keep your favorite moments in a few simple steps.<\/p>\r\n<div class=\"platforms\"><span class=\"platform\"><span class=\"x\">\ud835\udd4f<\/span> Twitter \/ X <span class=\"tag\">Public posts<\/span><\/span><span class=\"platform\">TikTok <span class=\"tag\">Experimental<\/span><\/span><span class=\"platform\"><svg style=\"width:15px;height:15px\"><use href=\"#i-play\"\/><\/svg> Direct MP4 link<\/span><\/div>\r\n<div class=\"downloader\">\r\n<form id=\"download-form\" novalidate>\r\n<div class=\"field-title\"><label for=\"video-url\">Paste a video link<\/label><button class=\"clear\" id=\"clear\" type=\"button\">Clear<\/button><\/div>\r\n<div class=\"input-row\"><div class=\"input-shell\"><svg aria-hidden=\"true\"><use href=\"#i-link\"\/><\/svg><input id=\"video-url\" name=\"url\" type=\"url\" inputmode=\"url\" placeholder=\"Twitter\/X, TikTok, or a direct MP4 link\" aria-describedby=\"input-help\" autocomplete=\"off\" spellcheck=\"false\" required><button class=\"paste\" id=\"paste\" type=\"button\"><svg aria-hidden=\"true\"><use href=\"#i-clip\"\/><\/svg>Paste<\/button><\/div><button id=\"parse\" class=\"primary\" type=\"submit\">Find video <svg aria-hidden=\"true\"><use href=\"#i-arrow\"\/><\/svg><\/button><\/div>\r\n<div class=\"input-help\" id=\"input-help\"><span>Twitter\/X and MP4. TikTok is experimental.<\/span><button id=\"demo\" class=\"demo-btn\" type=\"button\">Try a demo <svg aria-hidden=\"true\"><use href=\"#i-arrow\"\/><\/svg><\/button><\/div>\r\n<\/form>\r\n<p class=\"status error\" id=\"script-notice\">If the buttons do not respond, download this HTML file and open it in Chrome, Edge, or Safari. Chat attachment previews may block JavaScript.<\/p>\r\n<div class=\"status\" id=\"status\" role=\"status\" aria-live=\"polite\" hidden><\/div>\r\n<section class=\"result\" id=\"result\" aria-label=\"Video results\" hidden>\r\n<div class=\"result-top\"><div class=\"preview\" id=\"preview\"><\/div><div class=\"result-info\"><div class=\"result-label\" id=\"result-label\">VIDEO PREVIEW<\/div><h3 id=\"video-title\"><\/h3><div class=\"meta\" id=\"video-meta\"><\/div><span class=\"demo-badge\" id=\"demo-badge\" hidden>Interface demo \u00b7 Sample data<\/span><\/div><\/div>\r\n<div class=\"format\"><div><strong id=\"quality\">MP4 video<\/strong><select id=\"quality-select\" aria-label=\"Choose video quality\" hidden><\/select><small id=\"format-help\">Original file \u00b7 Original quality<\/small><\/div><button type=\"button\" class=\"primary save\" id=\"save\"><svg aria-hidden=\"true\"><use href=\"#i-down\"\/><\/svg><span id=\"save-label\">Save<\/span><\/button><\/div>\r\n<p class=\"result-foot\" id=\"result-foot\">Click Save to download the file. Your browser settings determine where it is saved.<\/p>\r\n<\/section>\r\n<div class=\"divider\"><\/div>\r\n<\/div>\r\n<div class=\"trust\"><span><svg><use href=\"#i-check\"\/><\/svg>No sign-up required<\/span><span><svg><use href=\"#i-check\"\/><\/svg>Mobile and desktop friendly<\/span><span><svg><use href=\"#i-check\"\/><\/svg>No link history stored<\/span><\/div>\r\n<\/section>\r\n<div class=\"content\">\r\n<section id=\"how\" aria-labelledby=\"how-title\"><div class=\"section-top\"><div><div class=\"kicker\">HOW IT WORKS<\/div><h2 id=\"how-title\">Three steps. One great video.<\/h2><\/div><p>From a link to a video on your device.<\/p><\/div><div class=\"steps\">\r\n<article class=\"step\"><div class=\"step-head\"><span class=\"number\">01 \/ COPY<\/span><span class=\"step-icon\"><svg><use href=\"#i-link\"\/><\/svg><\/span><\/div><h3>Copy the video link<\/h3><p>Copy a Twitter\/X or TikTok video link, or a direct MP4 link, for content you are authorized to download.<\/p><\/article>\r\n<article class=\"step\"><div class=\"step-head\"><span class=\"number\">02 \/ PREVIEW<\/span><span class=\"step-icon\"><svg><use href=\"#i-play\"\/><\/svg><\/span><\/div><h3>Paste and preview<\/h3><p>Paste the link and click Find video to see its preview, duration, and dimensions.<\/p><\/article>\r\n<article class=\"step\"><div class=\"step-head\"><span class=\"number\">03 \/ SAVE<\/span><span class=\"step-icon\"><svg><use href=\"#i-down\"\/><\/svg><\/span><\/div><h3>Save to your device<\/h3><p>Choose a quality and click Save. The downloaded file is handed to your browser, which controls the save location.<\/p><\/article>\r\n<\/div><\/section>\r\n<section class=\"faq\" id=\"faq\" aria-labelledby=\"faq-title\"><div class=\"faq-intro\"><div class=\"kicker\">A LITTLE MORE TO KNOW<\/div><h2 id=\"faq-title\">Good to know<\/h2><p>A few details about supported links, saving files, and using videos.<\/p><\/div><div>\r\n<details open><summary>Can this page download Twitter\/X videos?<\/summary><p>You can try resolving public video posts, including standard post links and links ending in \/video\/1. This page uses the public FxTwitter service, so no backend of your own is needed. An internet connection is required. Results depend on the third-party service and video source; private or deleted posts may not be available.<\/p><\/details>\r\n<details><summary>What does the experimental TikTok integration support?<\/summary><p>It recognizes links in the @username\/video\/id format and removes share-tracking parameters. TikTok short links can also be sent to the resolver. The page attempts to retrieve video URLs through TikWM. Both the API and video source must allow cross-origin browser access. The service rejected requests from this test environment, so successful downloads have not been verified. Instagram is not supported.<\/p><\/details>\r\n<details><summary>What is a direct MP4 link?<\/summary><p>A direct link points to the video file itself, such as https:\/\/example.com\/video.mp4, rather than a page containing a player. The file must be directly accessible. Links that require sign-in, restrict external access, or have expired may not play.<\/p><\/details>\r\n<details><summary>Where does the file go when I click Save?<\/summary><p>The page downloads the video and triggers a file download without opening a video tab. Files usually go to your browser\u2019s default Downloads folder. If your browser asks where to save each download, you will still see that prompt. Blocked cross-origin access or an unreachable source will display an error. Larger files take longer and use more browser memory.<\/p><\/details>\r\n<details><summary>Are my links stored?<\/summary><p>This page does not store link history locally. To resolve Twitter\/X links, your browser sends the username and post ID to api.fxtwitter.com. For TikTok, it sends the video link without tracking parameters to www.tikwm.com. Previews connect to the video source. These services may log requests. This page does not ask for your X password or cookies.<\/p><\/details>\r\n<details><summary>What content can I download?<\/summary><p>Only save content you own or are authorized to download, and follow the source platform\u2019s rules. This edition does not support sign-in, private videos, paid content, or DRM-protected media.<\/p><\/details>\r\n<\/div><\/section>\r\n<\/div>\r\n<\/div>\r\n<div class=\"more-tools-wrap\"><div class=\"content more-tools\"><h2>More online tools<\/h2><nav aria-label=\"More online tools\"><a href=\"\/image-border.html\">Image Border<\/a><a href=\"\/favicon-generator.html\">Favicon Generator<\/a><a href=\"\/youtube-thumbnail-generator.html\">YouTube Thumbnails<\/a><a href=\"\/image-to-base64.html\">Image to Base64<\/a><a href=\"\/json-formatter.html\">JSON Formatter<\/a><a href=\"\/password-generator.html\">Password Generator<\/a><a href=\"\/gif-maker.html\">GIF Maker<\/a><a href=\"\/qr-generator.html\">QR Code Generator<\/a><\/nav><\/div><\/div><noscript>Please enable JavaScript. If the attachment preview does not work, download the HTML file and open it in your browser.<\/noscript>\r\n<\/div>\r\n<script>\r\n'use strict';\r\n\/\/ Public FxTwitter API. No account credentials, cookies or API secrets are sent.\r\nconst $=id=>document.getElementById(id);\r\nconst SOCIAL_HOSTS=new Set(['x.com','www.x.com','mobile.x.com','twitter.com','www.twitter.com','mobile.twitter.com']);\r\nconst TIKTOK_HOSTS=new Set(['tiktok.com','www.tiktok.com','m.tiktok.com','vm.tiktok.com','vt.tiktok.com']);\r\nfunction parseTikTok(url){\r\n  if(!TIKTOK_HOSTS.has(url.hostname.toLowerCase()))throw new Error('This is not a valid TikTok link.');\r\n  \/\/ Normalize post URLs and discard tracking parameters, preserving IDs as strings.\r\n  const post=url.pathname.match(\/^\\\/@([A-Za-z0-9._-]+)\\\/video\\\/(\\d{10,25})\\\/?$\/);\r\n  if(post)return{url:`https:\/\/www.tiktok.com\/@${post[1]}\/video\/${post[2]}`,id:post[2]};\r\n  if(['vm.tiktok.com','vt.tiktok.com'].includes(url.hostname.toLowerCase())&&\/^\\\/[A-Za-z0-9_-]+\\\/?$\/.test(url.pathname))return{url:'https:\/\/'+url.hostname.toLowerCase()+url.pathname,id:''};\r\n  const short=url.pathname.match(\/^\\\/t\\\/([A-Za-z0-9_-]+)\\\/?$\/);\r\n  if(short)return{url:'https:\/\/www.tiktok.com\/t\/'+short[1]+'\/',id:''};\r\n  throw new Error('Paste a single TikTok video link, such as https:\/\/www.tiktok.com\/@username\/video\/1234567890123456789.');\r\n}\r\nfunction tikTokMediaUrl(raw){\r\n  if(typeof raw!=='string'||!raw.trim())return null;\r\n  let url;try{url=new URL(raw,'https:\/\/www.tikwm.com\/');}catch{return null;}\r\n  const allowed=['tikwm.com','tiktok.com','tiktokcdn.com','tiktokcdn-us.com','tiktokcdn-eu.com','muscdn.com','ibytedtos.com','byteoversea.com','akamaized.net','bytefcdn-oversea.com'];\r\n  if(url.protocol!=='https:'||url.username||url.password||!allowed.some(host=>url.hostname===host||url.hostname.endsWith('.'+host)))return null;\r\n  return url.href;\r\n}\r\nfunction tikTokModel(payload,post){\r\n  if(!payload||typeof payload!=='object'||Number(payload.code)!==0)throw new Error('The TikTok resolver could not find an available video. The post may be inaccessible, or the service may be unavailable.');\r\n  const data=payload.data;\r\n  if(!data||typeof data!=='object')throw new Error('The TikTok resolver did not return video information.');\r\n  const choices=[];\r\n  for(const [key,label] of [['hdplay','HD \u00b7 From resolver'],['play','Standard \u00b7 From resolver'],['wmplay','Watermarked \u00b7 From resolver']]){\r\n    const url=tikTokMediaUrl(data[key]);\r\n    if(url&&!choices.some(f=>f.url===url))choices.push({url,label,width:Number(data.width)||0,height:Number(data.height)||0});\r\n  }\r\n  if(!choices.length)throw new Error(Array.isArray(data.images)&&data.images.length?'This TikTok post is a photo gallery. No downloadable video file was returned.':'The TikTok resolver did not return an allowed video URL.');\r\n  const id=post.id||(\/^\\d{10,25}$\/.test(String(data.id))?String(data.id):'video');\r\n  return{title:typeof data.title==='string'&&data.title.trim()?data.title.slice(0,220):'TikTok video',duration:Number(data.duration)||NaN,formats:choices,source:'TikTok \u00b7 TikWM (experimental)',filename:'tiktok-'+id+'.mp4'};\r\n}\r\nasync function resolveTikTok(post){\r\n  const controller=new AbortController();aborter=controller;\r\n  const timer=setTimeout(()=>controller.abort(),25000);\r\n  const endpoint=new URL('https:\/\/www.tikwm.com\/api\/');\r\n  endpoint.searchParams.set('url',post.url);endpoint.searchParams.set('hd','1');\r\n  try{\r\n    let response;\r\n    try{response=await fetch(endpoint.href,{signal:controller.signal,credentials:'omit',referrerPolicy:'no-referrer'});}\r\n    catch(error){if(error.name==='AbortError')throw new Error('The TikTok request timed out after 25 seconds. Please try again later.');throw new Error('The TikTok API could not be reached, or it does not allow cross-origin browser access. This link has not been resolved.');}\r\n    if(response.status===403)throw new Error('The TikTok resolver rejected this request (403). This environment cannot retrieve the video through this API. An HTML file cannot remove that restriction.');\r\n    if(response.status===429)throw new Error('The TikTok resolver is receiving too many requests. Please try again later.');\r\n    if(!response.ok)throw new Error(`The TikTok resolver is unavailable (HTTP ${response.status}).`);\r\n    let payload;try{payload=await response.json();}catch{throw new Error('The TikTok resolver returned invalid data. Access verification or a service error may be blocking the request.');}\r\n    return tikTokModel(payload,post);\r\n  }finally{clearTimeout(timer);if(aborter===controller)aborter=null;}\r\n}\r\n\r\nlet currentUrl='',currentName='video.mp4',requestId=0,busy=false,activeVideo=null,aborter=null,cancelMetadata=null,formats=[];\r\nfunction setStatus(message,error=false,loading=false){const el=$('status');el.replaceChildren();el.hidden=!message;el.classList.toggle('error',error);if(loading){const s=document.createElement('span');s.className='spinner';s.setAttribute('aria-hidden','true');el.append(s);}el.append(document.createTextNode(message));}\r\nfunction setBusy(value){busy=value;$('parse').disabled=value;$('parse').textContent=value?'Finding video\u2026':'Find video';}\r\nfunction stop(){cancelDownload();requestId++;if(aborter){aborter.abort();aborter=null;}if(cancelMetadata){cancelMetadata();cancelMetadata=null;}if(activeVideo){activeVideo.pause();activeVideo.removeAttribute('src');activeVideo.load();activeVideo=null;}setBusy(false);}\r\nfunction reset(){stop();currentUrl='';formats=[];$('result').hidden=true;$('preview').replaceChildren();$('quality-select').replaceChildren();$('quality-select').hidden=true;setStatus('');}\r\nfunction validate(raw){let url;try{url=new URL(raw);}catch{throw new Error('Enter a complete http:\/\/ or https:\/\/ video URL.');}if(!['http:','https:'].includes(url.protocol)||url.username||url.password)throw new Error('Only HTTP \/ HTTPS links without embedded usernames or passwords are supported.');return url;}\r\nfunction parsePost(url){const match=url.pathname.match(\/^\\\/(?:([A-Za-z0-9_]+)\\\/status|i\\\/web\\\/status)\\\/(\\d+)(?:\\\/video\\\/([1-9]\\d*))?\\\/?$\/);if(!match)throw new Error('Use a specific post link: \/status\/post-id or \/status\/post-id\/video\/1.');const index=match[3]?Number(match[3]):null;if(index!==null&&(!Number.isSafeInteger(index)||index>100))throw new Error('Invalid video number. Check the number after \/video\/.');return{handle:match[1]||'i',id:match[2],index};}\r\nfunction duration(s){if(!Number.isFinite(s))return 'Duration unknown';const n=Math.floor(s);return(n>=3600?Math.floor(n\/3600)+':':'')+String(Math.floor(n\/60)%60).padStart(2,'0')+':'+String(n%60).padStart(2,'0');}\r\nfunction filename(raw){try{return decodeURIComponent(new URL(raw).pathname.split('\/').pop()||'video.mp4').replace(\/[\\\\\/:*?\"<>|\\u0000-\\u001f]\/g,'_').slice(0,160)||'video.mp4';}catch{return 'video.mp4';}}\r\nfunction mediaUrl(raw){const u=validate(raw);if(u.protocol!=='https:'||!(u.hostname==='twimg.com'||u.hostname.endsWith('.twimg.com'))||!\/\\.mp4$\/i.test(u.pathname))throw new Error('The resolver did not return a valid MP4 video URL.');return u.href;}\r\nfunction dimensions(raw){const m=new URL(raw).pathname.match(\/\\\/(\\d+)x(\\d+)\\\/\/);return m?{width:Number(m[1]),height:Number(m[2])}:{width:0,height:0};}\r\nfunction qualityLabel(f){if(f.label)return f.label;return f.width&&f.height?`${Math.min(f.width,f.height)}p \u00b7 ${f.width} \u00d7 ${f.height}`:'MP4 \u00b7 Original quality';}\r\nasync function resolveSocial(post){const controller=new AbortController();aborter=controller;const timer=setTimeout(()=>controller.abort(),20000);try{let response;try{response=await fetch(`https:\/\/api.fxtwitter.com\/${encodeURIComponent(post.handle)}\/status\/${post.id}`,{signal:controller.signal,credentials:'omit',referrerPolicy:'no-referrer'});}catch(error){if(error.name==='AbortError')throw error;throw new Error('Could not connect to the video resolver. Check your connection. Preview environments may block external requests; download the HTML file and open it in Chrome or Safari.');}if(response.status===429)throw new Error('Too many requests to the resolver. Please try again later.');if(!response.ok)throw new Error(`The resolver is unavailable (HTTP ${response.status}).`);let data;try{data=await response.json();}catch{throw new Error('The resolver returned invalid data. Please try again later.');}if(data.code&&data.code!==200){const messages={401:'This post is not public and cannot be resolved.',403:'The service denied access to this post.',404:'The service could not find this post. It may have been deleted or made inaccessible.'};throw new Error(messages[data.code]||'The resolver could not retrieve this post. Please try again later.');}const tweet=data.tweet||data.status;if(!tweet)throw new Error('The resolver did not return post information.');const videos=tweet.media?.videos||[];const all=tweet.media?.all;let selected;if(post.index!==null){selected=(Array.isArray(all)&&all.length?all:videos)[post.index-1];if(!selected||!['video','gif'].includes(selected.type))throw new Error('No downloadable video was found at that position. Check the number after \/video\/.');}else{selected=videos[0]||(all||[]).find(v=>['video','gif'].includes(v.type));}if(!selected)throw new Error('This post did not return a downloadable video.');const choices=[];const variants=[...(selected.formats||[]),...(selected.variants||[])];for(const v of variants){if(!(v.container==='mp4'||v.content_type==='video\/mp4'))continue;try{const url=mediaUrl(v.url);if(!choices.some(f=>f.url===url))choices.push({url,...dimensions(url),bitrate:Number(v.bitrate)||0});}catch{}}\r\nif(selected.url){try{const url=mediaUrl(selected.url);if(!choices.some(f=>f.url===url))choices.push({url,width:Number(selected.width)||0,height:Number(selected.height)||0,bitrate:0});}catch{}}\r\nif(!choices.length)throw new Error('No directly downloadable MP4 file was found.');choices.sort((a,b)=>(b.width*b.height-a.width*a.height)||(b.bitrate-a.bitrate));return{title:(tweet.text||'Twitter \/ X video').slice(0,220),duration:Number(selected.duration),formats:choices,source:'Twitter \/ X \u00b7 FxTwitter',filename:`x-${post.id}-${post.index||1}.mp4`};}finally{clearTimeout(timer);if(aborter===controller)aborter=null;}}\r\nfunction metadata(video,url,token){return new Promise(resolve=>{let done=false;const timer=setTimeout(()=>finish(false),12000);function finish(ok){if(done)return;done=true;clearTimeout(timer);video.onloadedmetadata=null;video.onerror=null;if(cancelMetadata===cancel)cancelMetadata=null;resolve(ok&&token===requestId);}const cancel=()=>finish(false);cancelMetadata=cancel;video.onloadedmetadata=()=>finish(true);video.onerror=()=>finish(false);video.src=url;video.load();});}\r\nasync function preview(index,model,token){if(cancelMetadata)cancelMetadata();if(activeVideo){activeVideo.pause();activeVideo.removeAttribute('src');activeVideo.load();}const f=formats[index];currentUrl=f.url;currentName=model.filename||filename(f.url);$('quality').textContent=qualityLabel(f);const video=document.createElement('video');video.controls=true;video.preload='metadata';video.playsInline=true;video.setAttribute('aria-label','Video preview');activeVideo=video;$('preview').replaceChildren(video);const details=()=>{const seconds=Number.isFinite(video.duration)?video.duration:model.duration;const w=video.videoWidth||f.width,h=video.videoHeight||f.height;$('video-meta').textContent=[duration(seconds),w&&h?`${w} \u00d7 ${h}`:'Reading dimensions',model.source].join(' \u00b7 ');};details();setStatus('Video URL found. Loading the preview; you can also click Save now.',false,true);const ok=await metadata(video,currentUrl,token);if(token!==requestId||activeVideo!==video)return;details();if(saving)return;if(ok){$('quality').textContent=qualityLabel({width:video.videoWidth,height:video.videoHeight});setStatus('Video found. Choose a quality, then click Save.');}else{setStatus('Video URL found, but the preview could not load in this browser. You can still click Save to try downloading the file.');}}\r\nfunction showResult(model,token){formats=model.formats;$('video-title').textContent=model.title;$('demo-badge').hidden=true;$('result-label').textContent='VIDEO FOUND';$('format-help').textContent='MP4 \u00b7 Click Save to download';$('save').disabled=false;$('save-label').textContent='Save';$('result-foot').textContent='Save downloads the selected quality and hands the file to your browser. Keep this page open.';const select=$('quality-select');select.replaceChildren();formats.forEach((f,i)=>{const o=document.createElement('option');o.value=String(i);o.textContent=qualityLabel(f);select.append(o);});select.hidden=formats.length<2;select.onchange=()=>{requestId++;preview(Number(select.value),model,requestId);};$('result').hidden=false;preview(0,model,token);}\r\n$('download-form').addEventListener('submit',async event=>{event.preventDefault();if(busy)return;reset();const token=requestId;setBusy(true);setStatus('Checking the link\u2026',false,true);try{const url=validate($('video-url').value.trim());let model;if(SOCIAL_HOSTS.has(url.hostname.toLowerCase())){const post=parsePost(url);setStatus('Connecting to FxTwitter to resolve the public post\u2026',false,true);model=await resolveSocial(post);}else if(TIKTOK_HOSTS.has(url.hostname.toLowerCase())){const post=parseTikTok(url);setStatus('Trying to resolve the TikTok video through TikWM (experimental)\u2026',false,true);model=await resolveTikTok(post);}else if(\/\\.mp4$\/i.test(url.pathname)){model={title:filename(url.href),formats:[{url:url.href,...dimensions(url.href)}],source:url.hostname,duration:NaN};}else{throw new Error('Twitter\/X and direct MP4 links are supported. TikTok is experimental. Instagram and other sites are not supported.');}if(token!==requestId)return;showResult(model,token);}catch(error){if(token!==requestId)return;setStatus(error.name==='AbortError'?'The request timed out. Check your connection or try again later.':error.message,true);}finally{if(token===requestId)setBusy(false);}});\r\nlet saving=false,downloadController=null,downloadRun=0;\r\nfunction cancelDownload(){downloadRun++;if(downloadController){downloadController.abort();downloadController=null;}saving=false;$('save').disabled=false;$('save-label').textContent='Save';$('quality-select').disabled=false;}\r\nfunction sizeLabel(bytes){return(bytes\/1024\/1024).toFixed(1)+' MB';}\r\n$('save').addEventListener('click',async()=>{\r\n  if(!currentUrl||saving)return;\r\n  const sourceUrl=currentUrl,name=currentName,run=++downloadRun;\r\n  const controller=new AbortController();downloadController=controller;saving=true;if(cancelMetadata)cancelMetadata();\r\n  $('save').disabled=true;$('save-label').textContent='Downloading\u2026';$('quality-select').disabled=true;\r\n  let idleTimer,objectUrl;\r\n  const refreshTimer=(wait=60000)=>{clearTimeout(idleTimer);idleTimer=setTimeout(()=>controller.abort(),wait);};\r\n  try{\r\n    setStatus('Downloading the video. It will be handed to your browser when ready. Keep this page open\u2026',false,true);\r\n    refreshTimer();\r\n    const response=await fetch(sourceUrl,{signal:controller.signal,credentials:'omit',referrerPolicy:'no-referrer'});\r\n    if(!response.ok){let message=`Video download failed (HTTP ${response.status}). Resolve the link again and retry.`;if(response.headers.get('Content-Type')?.includes('application\/json')){try{const problem=await response.json();message=problem.error||message;}catch{}}throw new Error(message);}\r\n    const type=(response.headers.get('Content-Type')||'').toLowerCase();\r\n    if(type.includes('text\/')||type.includes('json'))throw new Error('The source did not return a video file. Please resolve the link again.');\r\n    const total=Number(response.headers.get('Content-Length'))||0;\r\n    const chunks=[];let received=0;\r\n    const progress=()=>{if(run!==downloadRun)return;const amount=total?`${Math.min(100,Math.floor(received\/total*100))}% \u00b7 ${sizeLabel(received)} \/ ${sizeLabel(total)}`:sizeLabel(received);$('save-label').textContent=total?`${Math.min(100,Math.floor(received\/total*100))}%`:'Downloading\u2026';setStatus(`Downloading ${amount}. The file will be saved when ready\u2026`,false,true);};\r\n    if(response.body&&response.body.getReader){const reader=response.body.getReader();while(true){const {done,value}=await reader.read();if(done)break;chunks.push(value);received+=value.byteLength;refreshTimer();progress();}}\r\n    else{const buffer=await response.arrayBuffer();chunks.push(buffer);received=buffer.byteLength;}\r\n    if(run!==downloadRun)return;\r\n    if(!received)throw new Error('The source returned an empty file. Resolve the link again and retry.');\r\n    clearTimeout(idleTimer);\r\n    const blob=new Blob(chunks,{type:'video\/mp4'});chunks.length=0;\r\n    objectUrl=URL.createObjectURL(blob);\r\n    const a=document.createElement('a');a.href=objectUrl;a.download=name;a.style.display='none';\r\n    document.body.append(a);a.click();a.remove();\r\n    \/\/ Retain long enough for browser downloads, including large files.\r\n    const pendingUrl=objectUrl;setTimeout(()=>URL.revokeObjectURL(pendingUrl),120000);objectUrl=null;\r\n    setStatus(`Video downloaded (${sizeLabel(received)}) and handed to your browser. Check your downloads list. Your browser controls the save location and any confirmation prompt.`);\r\n  }catch(error){\r\n    if(run!==downloadRun)return;\r\n    const message=error.name==='AbortError'?'Preparing or downloading the video timed out. Check your connection and try again.':error instanceof TypeError?'Could not read the video file. The source may block cross-origin downloads or be unreachable. A standalone HTML file cannot remove these restrictions; a download proxy would be needed.':error.message;\r\n    setStatus(message,true);\r\n  }finally{\r\n    clearTimeout(idleTimer);if(objectUrl)URL.revokeObjectURL(objectUrl);\r\n    if(run===downloadRun){downloadController=null;saving=false;$('save').disabled=false;$('save-label').textContent='Save';$('quality-select').disabled=false;}\r\n  }\r\n});\r\n$('clear').addEventListener('click',()=>{reset();$('video-url').value='';$('video-url').focus();});\r\n$('video-url').addEventListener('input',reset);\r\n$('paste').addEventListener('click',async()=>{const before=$('video-url').value;try{if(!navigator.clipboard?.readText)throw new Error();const text=await navigator.clipboard.readText();if($('video-url').value!==before)return;reset();$('video-url').value=text.trim();$('video-url').focus();setStatus(text.trim()?'Link pasted. Click Find video to continue.':'Your clipboard is empty. Copy a video link first.');}catch{setStatus('Clipboard access is unavailable. Click the input and paste manually (Ctrl+V \/ \u2318V).');$('video-url').focus();}});\r\n$('demo').addEventListener('click',()=>{reset();const scene=document.createElement('div');scene.className='demo-scene';scene.setAttribute('role','img');scene.setAttribute('aria-label','Sample illustration of hills at sunset');const label=document.createElement('span');label.className='scene-text';label.textContent='A MOMENT TO KEEP';scene.append(label);$('preview').append(scene);$('video-title').textContent='A moment worth keeping';$('video-meta').textContent='00:24 \u00b7 1280 \u00d7 720 \u00b7 Sample data';$('result-label').textContent='PREVIEW \/ DEMO';$('demo-badge').hidden=false;$('quality').textContent='MP4 \u00b7 720p';$('format-help').textContent='Interface demo \u00b7 No video file included';$('save').disabled=true;$('save-label').textContent='Demo only';$('result-foot').textContent='This is a sample illustration. Paste a real public post link to try resolving a video.';$('result').hidden=false;setStatus('This is an interface demo. Enter a Twitter\/X post, a TikTok video link, or a direct MP4 link to try resolving a video.');});\r\n\/\/ Remains visible if scripts are removed by an attachment preview or CSP.\r\n$('script-notice').hidden=true;\r\n<\/script>\r\n","protected":false},"excerpt":{"rendered":"<p>\u4fdd\u5b58\u7f8e\u597d\u77ac\u95f4\u3002\u73cd\u85cf\u4e8e\u5fc3\u3002\u559c\u7231\u7684\u89c6\u9891\uff0c\u8f7b\u677e\u4fdd\u5b58\u3002\u7c98\u8d34\u94fe\u63a5\uff0c\u2026<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4054","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.0 (Yoast SEO v28.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Free Online Video Downloader | Aitoolsoft<\/title>\n<meta name=\"description\" content=\"Paste a video link from TikTok, Instagram or X, preview it, and download the video in a few clicks. Free, no sign-up, works in any browser.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.aitoolsoft.com\/zh\/video-downloader.html\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Free Online Video Downloader - Save Videos from Any Link\" \/>\n<meta property=\"og:description\" content=\"Paste a video link from TikTok, Instagram or X, preview it, and download the video in a few clicks. Free, no sign-up, works in any browser.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.aitoolsoft.com\/zh\/video-downloader.html\/\" \/>\n<meta property=\"og:site_name\" content=\"Aitoolsoft\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-18T15:05:07+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/video-downloader.html\",\"url\":\"https:\\\/\\\/www.aitoolsoft.com\\\/video-downloader.html\",\"name\":\"Free Online Video Downloader | Aitoolsoft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/#website\"},\"datePublished\":\"2026-11-18T14:05:17+00:00\",\"dateModified\":\"2026-11-18T15:05:07+00:00\",\"description\":\"Paste a video link from TikTok, Instagram or X, preview it, and download the video in a few clicks. Free, no sign-up, works in any browser.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/video-downloader.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.aitoolsoft.com\\\/video-downloader.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/video-downloader.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/www.aitoolsoft.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Free Online Video Downloader &#8211; Save Videos from Any Link\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/#website\",\"url\":\"https:\\\/\\\/www.aitoolsoft.com\\\/\",\"name\":\"Aitoolsoft\",\"description\":\"Focused tools for images, documents, and everyday workflows\u2014online and across Apple devices.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.aitoolsoft.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/#organization\",\"name\":\"Aitoolsoft\",\"url\":\"https:\\\/\\\/www.aitoolsoft.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mlokfggnkpkq.i.optimole.com\\\/cb:hL5J.22d\\\/w:1583\\\/h:504\\\/q:mauto\\\/f:best\\\/https:\\\/\\\/www.aitoolsoft.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/aitoolsoft_logo.png\",\"contentUrl\":\"https:\\\/\\\/mlokfggnkpkq.i.optimole.com\\\/cb:hL5J.22d\\\/w:1583\\\/h:504\\\/q:mauto\\\/f:best\\\/https:\\\/\\\/www.aitoolsoft.com\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/aitoolsoft_logo.png\",\"width\":1583,\"height\":504,\"caption\":\"Aitoolsoft\"},\"image\":{\"@id\":\"https:\\\/\\\/www.aitoolsoft.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/apps.apple.com\\\/developer\\\/id1894708009\",\"https:\\\/\\\/apps.apple.com\\\/app\\\/id6802948791\",\"https:\\\/\\\/apps.apple.com\\\/app\\\/id6779464862\",\"https:\\\/\\\/apps.apple.com\\\/app\\\/id6762578207\",\"https:\\\/\\\/apps.apple.com\\\/app\\\/id6772639652\",\"https:\\\/\\\/www.youtube.com\\\/@aitoolsoft\",\"https:\\\/\\\/x.com\\\/Aitoolsoft\"],\"description\":\"Aitoolsoft builds small, focused apps for Mac, iPhone and iPad, plus free browser-based online tools for everyday image and file tasks.\",\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"customer support\",\"email\":\"support@aitoolsoft.com\",\"availableLanguage\":[\"English\"]}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u514d\u8d39\u5728\u7ebf\u89c6\u9891\u4e0b\u8f7d\u5668 | Aitoolsoft","description":"\u7c98\u8d34\u6765\u81ea TikTok\u3001Instagram \u6216 X \u7684\u89c6\u9891\u94fe\u63a5\uff0c\u9884\u89c8\u540e\u53ea\u9700\u70b9\u51fb\u51e0\u4e0b\u5373\u53ef\u4e0b\u8f7d\u89c6\u9891\u3002\u514d\u8d39\u3001\u65e0\u9700\u6ce8\u518c\uff0c\u9002\u7528\u4e8e\u4efb\u4f55\u6d4f\u89c8\u5668\u3002.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.aitoolsoft.com\/zh\/video-downloader.html\/","og_locale":"zh_CN","og_type":"article","og_title":"Free Online Video Downloader - Save Videos from Any Link","og_description":"Paste a video link from TikTok, Instagram or X, preview it, and download the video in a few clicks. Free, no sign-up, works in any browser.","og_url":"https:\/\/www.aitoolsoft.com\/zh\/video-downloader.html\/","og_site_name":"Aitoolsoft","article_modified_time":"2026-11-18T15:05:07+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.aitoolsoft.com\/video-downloader.html","url":"https:\/\/www.aitoolsoft.com\/video-downloader.html","name":"\u514d\u8d39\u5728\u7ebf\u89c6\u9891\u4e0b\u8f7d\u5668 | Aitoolsoft","isPartOf":{"@id":"https:\/\/www.aitoolsoft.com\/#website"},"datePublished":"2026-11-18T14:05:17+00:00","dateModified":"2026-11-18T15:05:07+00:00","description":"\u7c98\u8d34\u6765\u81ea TikTok\u3001Instagram \u6216 X \u7684\u89c6\u9891\u94fe\u63a5\uff0c\u9884\u89c8\u540e\u53ea\u9700\u70b9\u51fb\u51e0\u4e0b\u5373\u53ef\u4e0b\u8f7d\u89c6\u9891\u3002\u514d\u8d39\u3001\u65e0\u9700\u6ce8\u518c\uff0c\u9002\u7528\u4e8e\u4efb\u4f55\u6d4f\u89c8\u5668\u3002.","breadcrumb":{"@id":"https:\/\/www.aitoolsoft.com\/video-downloader.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.aitoolsoft.com\/video-downloader.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.aitoolsoft.com\/video-downloader.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.aitoolsoft.com\/"},{"@type":"ListItem","position":2,"name":"Free Online Video Downloader &#8211; Save Videos from Any Link"}]},{"@type":"WebSite","@id":"https:\/\/www.aitoolsoft.com\/#website","url":"https:\/\/www.aitoolsoft.com\/","name":"Aitoolsoft","description":"\u4e13\u4e3a\u56fe\u7247\u3001\u6587\u6863\u548c\u65e5\u5e38\u5de5\u4f5c\u6d41\u7a0b\u8bbe\u8ba1\u7684\u5de5\u5177\u2014\u2014\u65e2\u53ef\u5728\u7f51\u4e0a\u4f7f\u7528\uff0c\u4e5f\u53ef\u5728\u5404\u7c7b Apple \u8bbe\u5907\u4e0a\u4f7f\u7528\u3002.","publisher":{"@id":"https:\/\/www.aitoolsoft.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.aitoolsoft.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.aitoolsoft.com\/#organization","name":"Aitoolsoft","url":"https:\/\/www.aitoolsoft.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.aitoolsoft.com\/#\/schema\/logo\/image\/","url":"https:\/\/mlokfggnkpkq.i.optimole.com\/cb:hL5J.22d\/w:1583\/h:504\/q:mauto\/f:best\/https:\/\/www.aitoolsoft.com\/wp-content\/uploads\/2025\/07\/aitoolsoft_logo.png","contentUrl":"https:\/\/mlokfggnkpkq.i.optimole.com\/cb:hL5J.22d\/w:1583\/h:504\/q:mauto\/f:best\/https:\/\/www.aitoolsoft.com\/wp-content\/uploads\/2025\/07\/aitoolsoft_logo.png","width":1583,"height":504,"caption":"Aitoolsoft"},"image":{"@id":"https:\/\/www.aitoolsoft.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/apps.apple.com\/developer\/id1894708009","https:\/\/apps.apple.com\/app\/id6802948791","https:\/\/apps.apple.com\/app\/id6779464862","https:\/\/apps.apple.com\/app\/id6762578207","https:\/\/apps.apple.com\/app\/id6772639652","https:\/\/www.youtube.com\/@aitoolsoft","https:\/\/x.com\/Aitoolsoft"],"description":"Aitoolsoft \u4e3a Mac\u3001iPhone \u548c iPad \u6253\u9020\u5c0f\u5de7\u3001\u4e13\u6ce8\u7684\u5e94\u7528\uff0c\u5e76\u63d0\u4f9b\u514d\u8d39\u7684\u57fa\u4e8e\u6d4f\u89c8\u5668\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u7528\u4e8e\u65e5\u5e38\u56fe\u50cf\u548c\u6587\u4ef6\u4efb\u52a1\u3002.","contactPoint":{"@type":"ContactPoint","contactType":"customer support","email":"support@aitoolsoft.com","availableLanguage":["English"]}}]}},"_links":{"self":[{"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/pages\/4054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/comments?post=4054"}],"version-history":[{"count":9,"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/pages\/4054\/revisions"}],"predecessor-version":[{"id":4078,"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/pages\/4054\/revisions\/4078"}],"wp:attachment":[{"href":"https:\/\/www.aitoolsoft.com\/zh\/wp-json\/wp\/v2\/media?parent=4054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}