Streaming Google Drive MP3s on WordPress

Here is how to stream MP3s from Google Drive on a free WordPress blog:

  1. Make sure the file, or folder it’s in, is set so “anyone on the internet can find and view” it. To do this, go to the “Share” option and click on “Advanced” at the bottom right. Make sure that the option selected is “Public on the web – Anyone on the Internet”.
  2. Get a shareable link. This will be a drive.google.com link. For example,
    https://drive.google.com/open?id=0ByZwfjn5SAsTOGNiY3ZvV3k4b3M
  3. Copy the ID. In the example above it’s 0ByZwfjn5SAsTOGNiY3ZvV3k4b3M.
  4. Use this ID to construct a docs.google.com link like this:
    https://docs.google.com/uc?authuser=0&id=0ByZwfjn5SAsTOGNiY3ZvV3k4b3M
  5. Add &type=.mp3 to the end of the link:
    https://docs.google.com/uc?authuser=0&id=0ByZwfjn5SAsTOGNiY3ZvV3k4b3M&type=.mp3
  6. Insert the link into an audio tag:
    [audio src="https://docs.google.com/uc?authuser=0&id=0ByZwfjn5SAsTOGNiY3ZvV3k4b3M&type=.mp3" /]
  7. Paste the audio tag into your blog post.

And hey presto! You’ve got audio streaming on your blog from MP3s on Google Drive.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s