{"id":987714,"date":"2026-10-09T20:22:20","date_gmt":"2026-10-09T20:22:20","guid":{"rendered":"https:\/\/vecteezydownloader.com\/?page_id=987714"},"modified":"2026-10-09T22:47:58","modified_gmt":"2026-10-09T22:47:58","slug":"convert-mp3-homepage-draft","status":"publish","type":"page","link":"https:\/\/vecteezydownloader.com\/","title":{"rendered":"Free YouTube to MP3 Converter | Convert MP3"},"content":{"rendered":"\n<style>\n:root{--mp-blue:#2475ff;--mp-ink:#19253c;--mp-muted:#64748b;--mp-line:#dce5f2;--mp-soft:#f3f8ff}\n.mp-home{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif;color:var(--mp-ink);line-height:1.65}\n.mp-home *{box-sizing:border-box}.mp-home a{color:inherit;text-decoration:none}.mp-wrap{width:min(1140px,calc(100% - 40px));margin:auto}\n.mp-nav{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--mp-line);gap:24px}\n.mp-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.04em}.mp-logo{display:grid;place-items:center;width:36px;height:36px;color:white;background:var(--mp-blue);border-radius:11px;font-size:20px}\n.mp-navlinks{display:flex;align-items:center;gap:26px;font-size:14px;color:#526078}.mp-navlinks a:hover,.mp-navlinks a:focus{color:var(--mp-blue)}\n.mp-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--mp-blue);color:#fff!important;border:0;border-radius:10px;padding:13px 20px;font-weight:700;font-size:14px;box-shadow:0 8px 20px #2475ff24}\n.mp-btn:hover{background:#155eef}.mp-hero{padding:78px 0 68px;text-align:center;background:linear-gradient(180deg,#f3f8ff 0%,#fff 90%)}\n.mp-pill{display:inline-flex;gap:8px;align-items:center;padding:7px 13px;border:1px solid #d9e8ff;border-radius:999px;background:#fff;color:#3164b8;font-size:13px;font-weight:650}\n.mp-hero h1{max-width:850px;margin:22px auto 14px;font-size:clamp(38px,5vw,58px);line-height:1.08;letter-spacing:-.055em;color:var(--mp-ink)}\n.mp-hero h1 span{color:var(--mp-blue)}.mp-lead{max-width:700px;margin:0 auto;color:var(--mp-muted);font-size:17px}\n.mp-form{display:flex;gap:10px;max-width:790px;margin:32px auto 15px;padding:9px;background:#fff;border:1px solid var(--mp-line);border-radius:15px;box-shadow:0 18px 45px #182b4910}\n.mp-form input{flex:1;min-width:0;border:0;outline:0;padding:12px 14px;color:var(--mp-ink);font:inherit}.mp-form input::placeholder{color:#94a3b8}\n.mp-form button{opacity:.55;cursor:not-allowed}.mp-form-note{font-size:12px;color:#77849a;max-width:760px;margin:0 auto}\n.mp-checks{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;margin:24px 0 0;padding:0;list-style:none;color:#516078;font-size:13px}.mp-checks li:before{content:\"\u2713\";color:var(--mp-blue);font-weight:800;margin-right:7px}\n.mp-disclaimer{max-width:800px;margin:22px auto 0;color:#8290a4;font-size:12px}\n.mp-section{padding:74px 0}.mp-section.soft{background:var(--mp-soft)}.mp-heading{text-align:center;margin:0 auto 34px;max-width:680px}.mp-heading h2{font-size:clamp(28px,3vw,36px);line-height:1.2;letter-spacing:-.04em;margin:0 0 10px}.mp-heading p{color:var(--mp-muted);margin:0}\n.mp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mp-card{padding:22px;border:1px solid var(--mp-line);border-radius:14px;background:#fff}.mp-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eaf2ff;color:var(--mp-blue);font-size:20px;margin-bottom:18px}.mp-card h3{font-size:16px;margin:0 0 7px}.mp-card p{font-size:14px;color:var(--mp-muted);margin:0}\n.mp-step{font-size:12px;font-weight:750;color:var(--mp-blue);text-transform:uppercase;letter-spacing:.08em}.mp-step h3{margin-top:8px}\n.mp-two{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}.mp-copy h2{font-size:32px;letter-spacing:-.04em;line-height:1.2;margin:0 0 14px}.mp-copy p,.mp-copy li{color:var(--mp-muted)}.mp-copy ul{padding-left:20px}\n.mp-note{border:1px solid #d7e6ff;background:#f8fbff;border-radius:14px;padding:22px;color:#415570}\n.mp-table-wrap{overflow-x:auto;border:1px solid var(--mp-line);border-radius:12px;background:#fff}.mp-table{border-collapse:collapse;width:100%;min-width:500px}.mp-table th,.mp-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--mp-line)}.mp-table th{background:#f7faff;color:#31415a;font-size:13px}.mp-table td{font-size:14px;color:#5d6b81}\n.mp-faq{max-width:800px;margin:auto}.mp-faq details{padding:18px 20px;border:1px solid var(--mp-line);background:#fff;border-radius:12px;margin:10px 0}.mp-faq summary{cursor:pointer;font-weight:700}.mp-faq details p{margin:12px 0 0;color:var(--mp-muted)}\n.mp-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mp-article{border:1px solid var(--mp-line);border-radius:14px;padding:23px;background:#fff}.mp-tag{font-size:11px;letter-spacing:.09em;color:var(--mp-blue);font-weight:800}.mp-article h3{font-size:18px;line-height:1.3;margin:10px 0}.mp-article p{font-size:14px;color:var(--mp-muted);margin:0}\n.mp-footer{padding:48px 0 24px;background:#f4f8fe;border-top:1px solid var(--mp-line)}.mp-footergrid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:28px}.mp-footer h3{font-size:13px;margin:0 0 12px}.mp-footer p,.mp-footer a{font-size:13px;color:#65738a}.mp-footer ul{padding:0;list-style:none;margin:0;display:grid;gap:8px}.mp-copyline{border-top:1px solid var(--mp-line);margin-top:30px;padding-top:18px;color:#77849a;font-size:12px}\n@media(max-width:850px){.mp-navlinks{display:none}.mp-grid{grid-template-columns:repeat(2,1fr)}.mp-footergrid{grid-template-columns:repeat(2,1fr)}}\n@media(max-width:560px){.mp-wrap{width:min(100% - 32px,1140px)}.mp-nav{height:64px}.mp-nav>.mp-btn{padding:10px 12px;font-size:12px}.mp-hero{padding:54px 0 48px}.mp-lead{font-size:15px}.mp-form{display:grid;padding:9px}.mp-form input{padding:12px}.mp-form button{width:100%}.mp-checks{gap:9px 14px;font-size:12px}.mp-section{padding:54px 0}.mp-grid,.mp-two,.mp-articles,.mp-footergrid{grid-template-columns:1fr}.mp-card{padding:19px}.mp-copy h2{font-size:27px}}\n\n.mp-form button{opacity:1;cursor:pointer}.mp-form button:disabled{opacity:.6;cursor:wait}\n.mp-result{max-width:790px;margin:18px auto 0;text-align:left}\n.mp-result-card{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;padding:16px;border:1px solid var(--mp-line);border-radius:14px;background:#fff;box-shadow:0 14px 32px #182b490c}\n.mp-result-card img{display:block;width:150px;aspect-ratio:16\/9;object-fit:cover;border-radius:9px;background:#edf2f8}\n.mp-result-title{font-size:17px;line-height:1.35;font-weight:750;margin:0 0 5px}.mp-result-channel{font-size:13px;color:var(--mp-muted);margin:0}\n.mp-result-link{display:inline-block;color:var(--mp-blue)!important;font-size:13px;font-weight:650;margin-top:8px}\n.mp-download-row{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}.mp-download-row button.mp-btn:disabled{opacity:.55;cursor:not-allowed}\n.mp-download-note{font-size:12px;color:#77849a;margin:0}.mp-result-error{padding:13px 16px;border:1px solid #f2d5d5;border-radius:10px;background:#fff8f8;color:#9b3131;font-size:14px}\n.mp-result-loading{padding:14px;border:1px solid var(--mp-line);border-radius:10px;background:#fff;color:var(--mp-muted);font-size:14px}\n@media(max-width:560px){.mp-result-card{grid-template-columns:1fr}.mp-result-card img{width:100%;max-height:220px}.mp-download-row{align-items:flex-start;flex-direction:column}}\n<\/style>\n<div class=\"mp-home\">\n  <header class=\"mp-wrap mp-nav\">\n    <a class=\"mp-brand\" href=\"#top\"><span class=\"mp-logo\" aria-hidden=\"true\">\u266b<\/span><span>Convert MP3<\/span><\/a>\n    <nav class=\"mp-navlinks\" aria-label=\"Main navigation\"><a href=\"#top\">Home<\/a><a href=\"#how\">How it works<\/a><a href=\"#guides\">Guides<\/a><a href=\"#faq\">FAQ<\/a><\/nav>\n    <a class=\"mp-btn\" href=\"#downloader\">\u2193 &nbsp; MP3 Downloader<\/a>\n  <\/header>\n\n  <main id=\"top\">\n    <section class=\"mp-hero\">\n      <div class=\"mp-wrap\">\n        <span class=\"mp-pill\">\u2726 &nbsp; Free to use \u00b7 No sign-up<\/span>\n        <h1>Free YouTube to MP3 \u2014<br><span>Convert Audio in Seconds<\/span><\/h1>\n        <p class=\"mp-lead\">Paste a YouTube link to identify the exact video, review its details, and request an MP3 for content you own or are authorized to download.<\/p>\n        <div id=\"downloader\">\n          <form id=\"ytmp3-form\" class=\"mp-form\" aria-label=\"Analyze a YouTube video\">\n            <input id=\"ytmp3-url\" type=\"url\" aria-label=\"YouTube video link\" placeholder=\"Paste a YouTube video link here\u2026\" autocomplete=\"url\" required>\n            <button class=\"mp-btn\" type=\"submit\">\u2315 &nbsp; Analyze video<\/button>\n          <\/form>\n          <p class=\"mp-form-note\">Review the video title before downloading. Only download content you own or have permission to use.<\/p>\n          <div id=\"ytmp3-result\" class=\"mp-result\" aria-live=\"polite\" hidden><\/div>\n        <\/div>\n\n        <ul class=\"mp-checks\"><li>Easy to understand<\/li><li>Mobile-friendly guides<\/li><li>No software installation for the guides<\/li><li>Responsible-use information<\/li><\/ul>\n        <p class=\"mp-disclaimer\">Only download or convert audio that you own, that is in the public domain, or that you have permission to use. Always check the source service\u2019s terms.<\/p>\n      <\/div>\n    <\/section>\n\n    <section id=\"how\" class=\"mp-section\">\n      <div class=\"mp-wrap\">\n        <div class=\"mp-heading\"><h2>How to Convert an Authorized Video<\/h2><p>Check the exact video before requesting an MP3 download.<\/p><\/div>\n        <div class=\"mp-grid\">\n          <article class=\"mp-card\"><div class=\"mp-icon\" aria-hidden=\"true\">&#x2197;<\/div><span class=\"mp-step\">Step 1<\/span><h3>Paste a video link<\/h3><p>Use a YouTube video you created or have permission to save.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\" aria-hidden=\"true\">\u2301<\/div><span class=\"mp-step\">Step 2<\/span><h3>Review video details<\/h3><p>Confirm the title and channel match the exact video you selected.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\" aria-hidden=\"true\">\u25c9<\/div><span class=\"mp-step\">Step 3<\/span><h3>Wait for processing<\/h3><p>Availability and processing time depend on the video and conversion provider.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\" aria-hidden=\"true\">\u2193<\/div><span class=\"mp-step\">Step 4<\/span><h3>Download the MP3<\/h3><p>Save the converted file only when you have permission and the source allows it.<\/p><\/article>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <section class=\"mp-section soft\">\n      <div class=\"mp-wrap\">\n        <div class=\"mp-heading\"><h2>Why Use Our YouTube to MP3 Converter?<\/h2><p>Helpful audio information in a simple, responsive layout.<\/p><\/div>\n        <div class=\"mp-grid\">\n          <article class=\"mp-card\"><div class=\"mp-icon\">&#x26a1;<\/div><h3>Clear instructions<\/h3><p>Follow practical steps without confusing technical language.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\">\u266b<\/div><h3>Audio quality tips<\/h3><p>Learn how bitrate affects file size and listening quality.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\">\u25a3<\/div><h3>No app required<\/h3><p>Read the guides from a modern browser on your device.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\">\u25af<\/div><h3>Phone-friendly<\/h3><p>Find practical information for Android, iPhone, tablet, and desktop.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\">\u2637<\/div><h3>Simple navigation<\/h3><p>Jump from the downloader overview to answers and format guides.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\">\u25c7<\/div><h3>Responsible use<\/h3><p>Understand permission, copyright, and source-service limits.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\">\u25ce<\/div><h3>Format basics<\/h3><p>Compare MP3 with other common audio formats.<\/p><\/article>\n          <article class=\"mp-card\"><div class=\"mp-icon\">\u2318<\/div><h3>Device guidance<\/h3><p>Learn how downloaded files are organized on common devices.<\/p><\/article>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <section id=\"guides\" class=\"mp-section\">\n      <div class=\"mp-wrap mp-two\">\n        <div class=\"mp-copy\"><h2>MP3 quality: choose what fits<\/h2><p>MP3 is a compressed audio format. Bitrate describes how much audio data is stored each second. Higher bitrates usually create larger files, but they cannot restore detail that was missing from the original recording.<\/p><p>For speech, a lower bitrate may be sufficient. For music, compare the original quality and your storage needs. Choose a bitrate only when the source or a legitimate converter actually provides it.<\/p><\/div>\n        <div class=\"mp-table-wrap\"><table class=\"mp-table\"><thead><tr><th>Bitrate<\/th><th>Typical use<\/th><th>Trade-off<\/th><\/tr><\/thead><tbody><tr><td>128 kbps<\/td><td>Speech, casual listening<\/td><td>Smaller file<\/td><\/tr><tr><td>192 kbps<\/td><td>Everyday music<\/td><td>Balanced size<\/td><\/tr><tr><td>256 kbps<\/td><td>Music listening<\/td><td>Larger file<\/td><\/tr><tr><td>320 kbps<\/td><td>High-bitrate MP3<\/td><td>Largest file here<\/td><\/tr><\/tbody><\/table><\/div>\n      <\/div>\n    <\/section>\n\n    <section class=\"mp-section soft\">\n      <div class=\"mp-wrap mp-two\">\n        <div class=\"mp-copy\"><h2>Use audio downloads responsibly<\/h2><p>Download original recordings, public-domain works, royalty-free tracks, Creative Commons audio, or files for which you have permission. A publicly viewable stream is not automatically permission to make a copy.<\/p><ul><li>Check the license and attribution terms.<\/li><li>Respect copyright and the source platform\u2019s terms.<\/li><li>Do not bypass DRM, access controls, or private-content restrictions.<\/li><li>Use a verified source and confirm the exact title before saving.<\/li><\/ul><\/div>\n        <aside class=\"mp-note\"><strong>About YouTube-to-MP3 tools<\/strong><p>YTMP3 is commonly used as a name for services that convert video links into MP3 files. A link converter should identify the exact submitted video and show its title before any download. Conversion must comply with copyright law and the platform\u2019s terms. This site does not currently provide YouTube conversion.<\/p><\/aside>\n      <\/div>\n    <\/section>\n\n    <section id=\"faq\" class=\"mp-section\">\n      <div class=\"mp-wrap\">\n        <div class=\"mp-heading\"><h2>Frequently Asked Questions<\/h2><p>Quick answers about MP3 files, quality, and responsible downloads.<\/p><\/div>\n        <div class=\"mp-faq\">\n          <details><summary>What is an MP3 downloader?<\/summary><p>An MP3 downloader is a tool or service that saves an MP3 file from a supported source. Use it only for audio you are allowed to download.<\/p><\/details>\n          <details><summary>Is this MP3 downloader free?<\/summary><p>The page is free to use. Conversion availability may depend on the service provider and its request limits. Only download videos you own or have permission to use.<\/p><\/details>\n          <details><summary>Do I need to install software?<\/summary><p>No software is needed to read these guides. Whether a download requires an app depends on the source and the device you use.<\/p><\/details>\n          <details><summary>Can I save MP3 files on my phone?<\/summary><p>Yes, when you have an authorized MP3 download link and your browser or source service supports saving files. The saved file is usually available in your Downloads or Files app.<\/p><\/details>\n          <details><summary>What audio quality should I choose?<\/summary><p>Choose a bitrate that fits the source, your listening needs, and available storage. A higher bitrate does not improve a low-quality original recording.<\/p><\/details>\n          <details><summary>Is downloading music legal?<\/summary><p>It depends on the recording, license, your location, and the source service\u2019s terms. Download music you own, that is public domain, or that you have permission to use.<\/p><\/details>\n          <details><summary>Why should a converter verify the exact link?<\/summary><p>Title-based searching can select a different recording. A responsible converter should analyze the submitted media identifier and let you confirm the title and source before downloading.<\/p><\/details>\n          <details><summary>Are files stored on this website?<\/summary><p>The conversion request is sent to a third-party processing service. This website does not store the resulting audio file.<\/p><\/details>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <section class=\"mp-section soft\">\n      <div class=\"mp-wrap\">\n        <div class=\"mp-heading\"><h2>From the Audio Guides<\/h2><p>Learn the basics before choosing a format or saving a file.<\/p><\/div>\n        <div class=\"mp-articles\">\n          <article class=\"mp-article\"><span class=\"mp-tag\">AUDIO FORMATS<\/span><h3>What Is an MP3 File?<\/h3><p>A plain-language guide to the MP3 format, how compression works, and why the format is still widely used.<\/p><\/article>\n          <article class=\"mp-article\"><span class=\"mp-tag\">AUDIO QUALITY<\/span><h3>128 kbps vs 320 kbps MP3<\/h3><p>Understand bitrate, sound quality, file size, and how to choose a setting that suits your needs.<\/p><\/article>\n          <article class=\"mp-article\"><span class=\"mp-tag\">MOBILE GUIDES<\/span><h3>How to Save MP3 Files on Android<\/h3><p>Learn where authorized audio downloads appear and how to organize them on an Android device.<\/p><\/article>\n        <\/div>\n      <\/div>\n    <\/section>\n  <\/main>\n\n  <footer class=\"mp-footer\">\n    <div class=\"mp-wrap\">\n      <div class=\"mp-footergrid\">\n        <div><a class=\"mp-brand\" href=\"#top\"><span class=\"mp-logo\">\u266b<\/span><span>Convert MP3<\/span><\/a><p>Simple MP3 guides and audio-format information for content you own or are authorized to use.<\/p><\/div>\n        <div><h3>EXPLORE<\/h3><ul><li><a href=\"#downloader\">MP3 Downloader<\/a><\/li><li><a href=\"#how\">How it works<\/a><\/li><li><a href=\"#guides\">MP3 quality<\/a><\/li><\/ul><\/div>\n        <div><h3>LEARN<\/h3><ul><li><a href=\"#faq\">Frequently asked questions<\/a><\/li><li><a href=\"#guides\">Audio formats<\/a><\/li><li><a href=\"#guides\">Bitrate guide<\/a><\/li><\/ul><\/div>\n        <div><h3>INFORMATION<\/h3><ul><li><a href=\"#faq\">Responsible use<\/a><\/li><li><a href=\"#faq\">Privacy information<\/a><\/li><li><a href=\"#faq\">Contact<\/a><\/li><\/ul><\/div>\n      <\/div>\n      <div class=\"mp-copyline\">\u00a9 2026 Convert MP3 \u00b7 Only download content you own or have permission to use.<\/div>\n    <\/div>\n  <\/footer>\n<\/div>\n\n<script>\n(function(){\n  var endpoint=\"https:\/\/wbgtqkqdzyvxmwxakqjn.supabase.co\/functions\/v1\/youtube-to-mp3\";\n  var publicKey=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndiZ3Rxa3Fkenl2eG13eGFrcWpuIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzcwNDEzODMsImV4cCI6MjA5MjYxNzM4M30.PDwAfHuCZUXqeR140UALh5i4esYD2e6JYjgqv9H_4wY\";\n  var form=document.getElementById(\"ytmp3-form\");\n  var input=document.getElementById(\"ytmp3-url\");\n  var result=document.getElementById(\"ytmp3-result\");\n  var sequence=0;\n  if(!form||!input||!result)return;\n\n  function getVideoId(raw){\n    var u;\n    try{u=new URL(raw.trim())}catch(e){return null}\n    if(u.protocol!==\"https:\"&&u.protocol!==\"http:\")return null;\n    var host=u.hostname.toLowerCase().replace(\/^www\\.\/,\"\");\n    var id=\"\";\n    if(host===\"youtu.be\"){\n      id=u.pathname.split(\"\/\").filter(Boolean)[0]||\"\";\n    }else if([\"youtube.com\",\"m.youtube.com\",\"music.youtube.com\",\"youtube-nocookie.com\"].indexOf(host)>=0){\n      var parts=u.pathname.split(\"\/\").filter(Boolean);\n      if(u.pathname===\"\/watch\")id=u.searchParams.get(\"v\")||\"\";\n      else if([\"shorts\",\"embed\",\"live\",\"v\"].indexOf(parts[0])>=0)id=parts[1]||\"\";\n    }\n    return \/^[A-Za-z0-9_-]{11}$\/.test(id)?id:null;\n  }\n  function safeHttpUrl(value){\n    try{var u=new URL(value);return u.protocol===\"https:\"||u.protocol===\"http:\"?u.href:null}catch(e){return null}\n  }\n  function showError(message){\n    result.hidden=false;\n    result.replaceChildren();\n    var box=document.createElement(\"div\");\n    box.className=\"mp-result-error\";\n    box.setAttribute(\"role\",\"alert\");\n    box.textContent=message;\n    result.appendChild(box);\n  }\n  function makeCard(id,title,author,downloadLink,pending,apiError){\n    var card=document.createElement(\"div\");\n    card.className=\"mp-result-card\";\n    var image=document.createElement(\"img\");\n    image.src=\"https:\/\/i.ytimg.com\/vi\/\"+encodeURIComponent(id)+\"\/hqdefault.jpg\";\n    image.alt=\"Thumbnail for \"+title;\n    image.loading=\"lazy\";\n    var info=document.createElement(\"div\");\n    var heading=document.createElement(\"p\");\n    heading.className=\"mp-result-title\";\n    heading.textContent=title;\n    var channel=document.createElement(\"p\");\n    channel.className=\"mp-result-channel\";\n    channel.textContent=(author?\"Channel: \"+author+\" \u00b7 \":\"\")+\"Video ID: \"+id;\n    var link=document.createElement(\"a\");\n    link.className=\"mp-result-link\";\n    link.href=\"https:\/\/www.youtube.com\/watch?v=\"+encodeURIComponent(id);\n    link.target=\"_blank\";\n    link.rel=\"noopener noreferrer\";\n    link.textContent=\"Open this video on YouTube &#x2197;\";\n    info.append(heading,channel,link);\n    card.append(image,info);\n    result.replaceChildren(card);\n    if(apiError){\n      var err=document.createElement(\"div\");\n      err.className=\"mp-result-error\";\n      err.setAttribute(\"role\",\"alert\");\n      err.style.marginTop=\"12px\";\n      err.textContent=apiError;\n      result.appendChild(err);\n    }\n    var row=document.createElement(\"div\");\n    row.className=\"mp-download-row\";\n    if(downloadLink){\n      var download=document.createElement(\"a\");\n      download.className=\"mp-btn\";\n      download.href=downloadLink;\n      download.target=\"_blank\";\n      download.rel=\"noopener noreferrer\";\n      download.textContent=\"\u2193  Download MP3\";\n      row.appendChild(download);\n    }else{\n      var button=document.createElement(\"button\");\n      button.className=\"mp-btn\";\n      button.type=\"button\";\n      button.disabled=true;\n      button.setAttribute(\"aria-disabled\",\"true\");\n      button.textContent=pending?\"Still preparing \u2014 analyze again shortly\":\"Download unavailable\";\n      row.appendChild(button);\n    }\n    result.appendChild(row);\n  }\n  async function analyze(){\n    var current=++sequence;\n    var id=getVideoId(input.value);\n    if(!id){showError(\"Enter a valid YouTube video link (watch, youtu.be, Shorts, or live).\");return}\n    result.hidden=false;\n    result.innerHTML='<div class=\"mp-result-loading\" role=\"status\">Checking this exact video\u2026<\/div>';\n    var watchUrl=\"https:\/\/www.youtube.com\/watch?v=\"+encodeURIComponent(id);\n    var metaRequest=fetch(\"https:\/\/www.youtube.com\/oembed?format=json&url=\"+encodeURIComponent(watchUrl),{headers:{Accept:\"application\/json\"}})\n      .then(function(r){return r.ok?r.json():null}).catch(function(){return null});\n    var conversionRequest=fetch(endpoint,{\n      method:\"POST\",\n      headers:{Accept:\"application\/json\",\"Content-Type\":\"application\/json\",apikey:publicKey,Authorization:\"Bearer \"+publicKey},\n      body:JSON.stringify({url:watchUrl})\n    }).then(async function(r){return {ok:r.ok,data:await r.json().catch(function(){return {}})}})\n      .catch(function(){return {ok:false,data:{error:\"The conversion service could not be reached.\"}}});\n    var outcomes=await Promise.all([metaRequest,conversionRequest]);\n    if(current!==sequence)return;\n    var meta=outcomes[0],conv=outcomes[1],data=conv.data||{};\n    if(!meta&&!conv.ok){showError(data.error||\"Could not analyze this link. Please check it and try again.\");return}\n    if(meta&&meta.provider_name!==\"YouTube\")meta=null;\n    var title=(meta&&meta.title)||data.title||\"YouTube video\";\n    var author=meta&&meta.author_name;\n    var downloadLink=conv.ok&&data.status===\"ok\"?safeHttpUrl(data.link):null;\n    var pending=conv.ok&&data.status===\"processing\";\n    var apiError=downloadLink||pending? \"\":(data.error||data.msg||\"Conversion is unavailable for this video. Please try again later.\");\n    makeCard(id,title,author,downloadLink,pending,apiError);\n  }\n  form.addEventListener(\"submit\",function(event){event.preventDefault();analyze()});\n  input.addEventListener(\"paste\",function(){window.setTimeout(analyze,100)});\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Analyze the exact YouTube video, review its details, and request an MP3 download for audio you own or are authorized to use.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-987714","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=\/wp\/v2\/pages\/987714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=987714"}],"version-history":[{"count":30,"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=\/wp\/v2\/pages\/987714\/revisions"}],"predecessor-version":[{"id":987744,"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=\/wp\/v2\/pages\/987714\/revisions\/987744"}],"wp:attachment":[{"href":"https:\/\/vecteezydownloader.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=987714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}