Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Creating Audio MP3 Playlists in WordPress with inbuilt MediaElement

April 25, 2014 3 Comments

With the release of WordPress 3.9 comes the in-built functionality to use Audio Playlists which is pretty cool. These Audio files have to be local to the WordPress installation unfortunately you can’t file remote at this stage such as in Amazon S3.

You upload MP3s via the Add Media option in the WordPress Media Library

audio-library-wordpress

WordPress Media Library

Some files maybe on the large size, so you may need to increase the allowable upload file size limit as enforced by your hosting provider or if you run your own box you change the settings in upload_max_filesize and post_max_size.

Once the audio is uploaded just go to the post or page you want the playlist on, click on the Add Media in the visual editor tool bar and select “Create Audio Playlist”

wordpress-audio-playlist

Create Audio Playlist

 

 

wordpress-audio-playlist-create

Add in Titles and Captions

Then select the Audio files you want and add in Title, Caption and Description and click Create a new Playlist

 

 

wordpress-audio-playlist-reorder

Reorder the play list or toggle certain data and then insert onto the page.

 

 

wordpress-audio-playlist-frontend

One playlist delivered and functions well with the inbuilt mediaelement audio player which will play the audio with the native HTML5 Audio element on capable browsers and fall back to flash on non-HTML 5 browsers, so it’s totally cross platform.

You can add some CSS styling to enhance the look and also get rid of the default music image symbol – which really should be an icon font. Since the medieelement CSS styles load later you can use a parent container Class to target the elements.

/* Audio Playlist */

.entry-content .wp-audio-playlist {
	background: #000000;
	color: #fff;
}

.entry-content .wp-playlist-item .wp-playlist-caption, .entry-content  .wp-playlist-length {
	color: #009999;
	border-bottom: none;
}

.entry-content .wp-playlist-current-item img {
	display: none;
}

.entry-content .wp-playlist-current-item:before {
	content: "\f127";
	font-size: 30px;
	font-family: dashicons;
	display: inline-block;
	float: left;
	margin-right: 15px;
	color:#009999;
}

.entry-content .wp-playlist-item {
	padding: 5px 3px;
	
}

Will give us:

wordpress-audio-playlist-css

Sprinkle some CSS

 

Cats: Video Audio, WordPress

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Google hits back after Apple exec says AI is hurting search
  • Apple: “Hundreds of millions to billions” lost without App Store commissions
  • Matter update may finally take the tedium out of setting up your smart home
  • Cue: Apple will add AI search in mobile Safari, challenging Google
  • Apps like Kindle are already taking advantage of court-mandated iOS App Store changes

RSS mac surfer

  • Tot is new text editor for Mac, iPhone, and iPad focused on constraints and ease of use
  • TiPbITS: Google Drive Sorting Can Hide New Documents
  • How to take a screenshot on a MacBook Pro
  • How To Create Simple Animation With Mac Keynote
  • Last Week on My Mac: Virus pandemics

Donate

Copyright © 2025· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2025 · gee on Genesis Framework · WordPress · Log in