Add audio

There are a number of different ways to include audio in your blog posts.

We do not recommend uploading audio files directly to your blog – WordPress isn’t a media streaming service (which could impact the quality of experience by your visitors) and we are quite restricted for space (so your audio file is likely larger than permitted).

Here are a couple of options we do recommend.


Embed from Google Drive

This option leverages the user’s own Google Drive for hosting and streaming audio content. There are a few steps required in order to embed this in a WordPress blog post.

Please note that not all files can be embedded successfully. MP3 is a supported file type.

Upload the audio file to Google Drive, then select it and click the sharing icon.

A) Upload file into Google Drive, share and get ID of file

  1. Upload the audio file into Google Drive. Select it and click the sharing icon at the top of the page.
  2. Share the audio file – either open the sharing to “anyone with the link” or share with the individuals that require access. Be sure to NOT disable downloading of the file – this will prevent it from playing in the blog post.
  3. In the sharing settings, click “Copy Link”. You will need this in WordPress.
Share the Google drive file and copy the link.

B) Create the URL that will be added to WordPress

  1. Paste the URL you copied from Google into a text editor. It will look something like this: https://drive.google.com/file/d/1q6TnddLdEkcmizrZQp146mCW6y8Ngsp/view?usp=sharing
  2. Notice the part that is bolded above – the part after /file/d/, up to the next / — this is the ID of your Google file.
  3. Paste this ID number at the end of the following URL – this is the one you will use in WordPress:
    https://drive.google.com/uc?export=download&id=

Example URL:
https://drive.google.com/uc?export=download&id=1q6TnddLdEkcmizrZQp146mCW6y8Ngsp

C) Add the “Audio” block in WordPress

Finally, you can add the embedded audio to your post or page in WordPress, using the “Audio” block type.

  1. In your blog post, add the “Audio” block.
  2. Go to “insert from URL” and paste the special link you created in the section above, then click the arrow icon to complete the process.
The Audio block - inserting embedded audio using a URL
The “Insert from URL” option in the Audio block
A sample embedded audio file – MP3

Embed from SoundCloud

SoundCloud is a third-party audio streaming service with some social capabilities.

Please note that these third-party tools are not supported at the university, and are suggested on a “use at your own discretion” basis. That said, some of your students may already be using it and already have accounts.

If you would like to embed an audio clip from SoundCloud:

  1. Upload your audio file to SoundCloud, per the instructions on their website and ensure it is shared in such a way that it can be embedded on a third-party site.
  2. Get the sharing URL for the SoundCloud clip.
  3. In your blog post/page, add a “SoundCloud” block and paste the URL for your clip.

For help with SoundCloud, please see the support available on their website. The blog support team cannot provide support for any third-party service.

The SoundCloud block - adding the URL.
Adding the SoundCloud block
An example embed from SoundCloud