{"id":859,"date":"2022-08-16T11:37:18","date_gmt":"2022-08-16T11:37:18","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2022\/08\/16\/6475125-hostinger-website-builder-how-to-embed-audio-files\/"},"modified":"2026-08-27T12:13:08","modified_gmt":"2026-08-27T12:13:08","slug":"6475125-hostinger-ai-builder-manual-mode-how-to-embed-audio-files","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/6475125-hostinger-ai-builder-manual-mode-how-to-embed-audio-files\/","title":{"rendered":"Hostinger AI Builder: How to embed audio files in manual mode"},"content":{"rendered":"<p>Add an audio player to your Hostinger AI Builder manual mode website using a third-party platform, an online widget, or your own audio file, along with the <a class=\"intercom-content-link\" href=\"\/support\/6463152-website-builder-how-to-embed-custom-code\/\" target=\"_blank\" rel=\"noopener\">embed code<\/a> element..<\/p><p class=\"no-margin\">All you need to do is get the<b> iframe code<\/b> of the audio track you want to add to the site.<\/p><h2 id=\"h_a9b654c366\">Using digital music services<\/h2><p class=\"no-margin\">You can copy the code of a preferred audio track from <a class=\"intercom-content-link\" href=\"https:\/\/artists.spotify.com\/help\/article\/embedded-players\" target=\"_blank\" rel=\"noopener\">Spotify<\/a> or <a class=\"intercom-content-link\" href=\"https:\/\/help.soundcloud.com\/hc\/en-us\/articles\/115003568008-Embedding-a-track-or-playlist-\" target=\"_blank\" rel=\"noopener\">SoundCloud<\/a>.<\/p><h2 id=\"h_a1779ce1d7\">Using online tools and widgets<\/h2><p class=\"no-margin\">Alternatively, you may create a third-party audio player widget using <a class=\"intercom-content-link\" href=\"https:\/\/elfsight.com\/audio-player-widget\/\" target=\"_blank\" rel=\"noopener\">Elfsight<\/a>, <a class=\"intercom-content-link\" href=\"https:\/\/www.commoninja.com\/widgets\/audio-player\" target=\"_blank\" rel=\"noopener\">CommonNinja<\/a> or another preferred online tool.<\/p><h2 id=\"h_0488685338\">Embedding your own audio track<\/h2><p class=\"no-margin\">If you wish to add an audio file from your local device, follow the steps below &#128071;<\/p><h3 id=\"h_d1945fbe13\">Step 1 &ndash; Create an Embed Code element<\/h3><p class=\"no-margin\">Insert the <a class=\"intercom-content-link\" href=\"\/support\/6463152-website-builder-how-to-embed-custom-code\/\" target=\"_blank\" rel=\"noopener\">embed code<\/a> element where you want to show your audio file. Then, copy this line of code:<\/p><pre><code>&lt;audio controls&gt; &lt;source src=\"URL\"&gt; &lt;\/audio&gt;<\/code><\/pre><p class=\"no-margin\">And paste it within the Embed Code element that you just created.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">You will update again this Embed Code later with your audio file URL.<\/p>\n<\/div><h3 id=\"h_0d328de596\">Step 2 &ndash; Upload your audio file to your Media Library<\/h3><ol>\n<li class=\"no-margin\">Access the <a class=\"intercom-content-link\" href=\"\/support\/7171600-website-builder-media-library\/\" target=\"_blank\" rel=\"noopener\">Media Library<\/a> of your editor:<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-17290\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_19-11.png\" alt=\"\" width=\"476\" height=\"873\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_19-11.png 476w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-27_19-11-164x300.png 164w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/li>\n<li class=\"no-margin\">There, click on the <b>Upload files <\/b>button to upload your file. Once it&rsquo;s uploaded, hover your cursor over the file and click on the details:<br>\n<img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2022\/08\/a225f2c8-5ab0-4dac-8fd8-16b5367bab03.jpg\" alt=\"Media library with the Details button highlighted on an audio file tile\" width=\"600\" data-media-id=\"3510\"><\/li>\n<li class=\"no-margin\">Copy the file path URL of your audio file &ndash; you will need it in the next step:<br>\n<img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2022\/08\/f4aa0736-2231-4080-bc6e-3be148295bc2.jpg\" alt=\"Hostinger Website Builder media library with file path field highlighted for an MP3 audio file\" data-media-id=\"3512\"><\/li>\n<\/ol><h3 id=\"h_4604bb8013\">Step 3 &ndash; Edit the embed code element<\/h3><p class=\"no-margin\">Go back to the Embed Code element that you previously created, then paste the URL of your audio file there, like this:<\/p><p class=\"no-margin\">Before:<\/p><pre><code>&lt;audio controls&gt; &lt;source src=\"INSERT URL HERE\"&gt; &lt;\/audio&gt;<\/code><\/pre><p class=\"no-margin\">After:<\/p><pre><code>&lt;audio controls&gt; &lt;source src=\"https:\/\/assets.zyrosite.com\/AoPeKzbBJpFBJ2QQ\/my-audio-file-xxxxg13X6VIlL41d.mp3\"&gt; &lt;\/audio&gt;<\/code><\/pre><h3 id=\"h_fbb8dd643b\">Step 4 &ndash; Save the Embed Code element<\/h3><p class=\"no-margin\">Once everything is done, save the changes and check the audio file on your live website or in the preview mode.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Embed a soundtrack, playlist, or your own audio file on your Hostinger AI Builder manual mode website.<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[293],"tags":[],"class_list":["post-859","post","type-post","status-publish","format-standard","hentry","category-ai-builder"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/6475125-hostinger-website-builder-how-to-embed-audio-files\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/6475125-hostinger-creador-de-sitios-web-como-anadir-archivos-de-audio\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/6475125-hostinger-createur-de-site-web-comment-integrer-des-fichiers-audio\/","default":0},{"locale":"lt-LT","link":"https:\/\/www.hostinger.com\/lt\/support\/6475125-hostinger-svetainiu-kurimo-irankis-kaip-prideti-audio-faila\/","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/6475125-hostinger-criador-de-sites-como-adicionar-arquivos-de-audio\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=859"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/859\/revisions"}],"predecessor-version":[{"id":17291,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/859\/revisions\/17291"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}