Thursday, September 18, 2025

Add an MP3 player to Blogger

 

To add an MP3 player to Blogger, you must first host your MP3 file on a third-party service like Google Drive or a dedicated audio hosting service. Then, in your Blogger post, switch to HTML view and use the <audio controls src="YOUR_MP3_FILE_URL"></audio> HTML tag to embed the player, replacing "YOUR_MP3_FILE_URL" with the direct link to your hosted MP3. 
Steps to Embed an MP3 Player
  1. Upload your MP3 to a file hosting service:
    • Google Drive: Upload the MP3 file to your Google Drive.
    • Other Services: Consider services like Dropbox, SoundCloud, or a dedicated audio hosting platform.
  2. Get the direct link to your MP3 file:
    • Google Drive: After uploading, open the file and look for an option to get a shareable link.
    • Important: You need the direct link to the MP3 file itself, not just the link to the file's preview page.
  3. Embed the audio in your Blogger post:
    • Open your Blogger post and click the pencil icon to open the post editor.
    • Switch to HTML view by clicking the HTML view icon.
    • Place your cursor where you want the audio player to appear.
    • Paste the following HTML code, replacing YOUR_MP3_FILE_URL with the direct link to your MP3:
      html
      <audio controls="controls">
        <source src="YOUR_MP3_FILE_URL" type="audio/mpeg">
      </audio>
      
    • Click the pencil icon again to return to the post editor and then publish your post. 

No comments:

Post a Comment

彙整信息中翻英

我會提供你兩種材料: 1)一或多篇「原始英文信息」(正式出版或正式翻譯版本) 2)一篇由這些英文信息「節錄、濃縮、重排」而成的「中文彙整信息」 你的任務是: 完全依照「中文彙整信息」的段落結構,逐段回填對應的英文內容。 嚴格遵守以下規則: 以中文彙整信息為 唯一結構骨架...