Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [audio]

The tag has no usage guidance.

4
votes
2answers
5k views

Download button for wp audio player

I'd like to add a download button to the core wp audio player (mediaelement.js). How can I do that simply? Any suggestions?
7
votes
2answers
6k views

Making audio playlist with external audio files?

In WordPress 3.9 there is a new feature that can make a playlist with uploaded audio files. I'd like to use external audio files. I use two web hosts. One for my website and one for my audio files.
5
votes
1answer
2k views

How to get the number of times an audio file has been played

My aim is to get the total number of listens so I was thinking I could save a 'listen' count to the audio file's post meta using update_post_meta() Is there a hook that fires each time an audio file ...
3
votes
1answer
9k views

Is it possible to control the width of the Wordpress audio player?

Is it possible to control the width of the Wordpress 3.9 Audio player? I like the simplicity of the player control and would like to include a narrow-width version of it in a table that lists all of ...
3
votes
1answer
342 views

How to get the ID of an item in an audio playlist?

I'm using wp_playlist_shortcode() to output an audio playlist. For example: echo wp_playlist_shortcode( array( 'ids' => $track_ids ) ); Thanks to the idea in answer 142974, I'm unhooking the ...
6
votes
3answers
1k views

Replace audio/video enclosure with player?

Current state: I'm parsing XML feeds into the front end and/or the back end (Admin UI), but not into the DB. Inside those feeds i place mp3- and video content, currently only as plain text (no link, ...
3
votes
1answer
546 views

Using audio shortcode for .mp3 URLs with a query string

I'm trying to use the audio shortcode with an audio file with a query string on the end of the URL and it won't work. The reason is I'd like to use expiring signed URLs with Amazon S3. If I use a ...
1
vote
1answer
652 views

Audio Playlist : How to bind events for “track change”, “track end”?

I'm customizing native Wordpress playlist echo do_shortcode('[playlist ids="3267,3266,821"]'); I'd like to bind events to detect "track change" and "track end" and do something when those events ...
1
vote
1answer
3k views

How to add audio files to wordpress blog and making it auto play?

How to add audio files to wordpress blog that when someone clicks on a post Music began playing by itself.
1
vote
1answer
178 views

Hard-coded Audio Player

Continuing work today on my free theme and I'm trying to make it kick some butt. I would like to embed an audio player into the theme. Not a plugin, an embedded player. The functionality of http://...
0
votes
1answer
99 views

ACF for audio url in wordpress audio shortcode

This WordPress shortcode plays an audio file for you and works great: [audio src="http://XXX.mp3"] In a specific post or page ,I want to give it the url of song using Advanced Custom filed (ACF) ...
0
votes
1answer
8k views

Background audio player

There are a lot of audio/music players that are either WP plugins or work with WP, but I don't see that they do exactly what I'm looking for. I want to be able to play an audio file automatically when ...