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.

2
votes
2answers
661 views

Extending the Audio Shortcode

At the moment, the audio shortcode only allows four attributes, src, loop, autoplay and preload. When you upload an audio file however, it comes with pretty useful meta data such as the album art, ...
0
votes
1answer
44 views

How to display more audio file ID3 tags in WordPress

When adding an audio file to WordPress, it automatically takes the title, album, artist from the ID3 tags in the mp3 file. It uses these in the playlist and audio file attachment page. How can I make ...
-1
votes
1answer
48 views

Can't upload files 1MB+ [closed]

I can't upload files with more than 1MB, but i haven't change any configuration. I have a lot of files with more than 5MB uploaded before, but i don't know why now i can't... The error is "Failed to ...
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 ...
0
votes
1answer
31 views

Dealing with the clickTrack event in wp-playlist.js in order to display audio download link on the playlist title row

I read this thread here that offers a filter for changing MediaElement.js settings in WordPress, and I am looking to do something similar only I don't need to target all of the MediaElement.js script, ...
0
votes
1answer
606 views

How to update the title of audio file through its attachment metadata

I am trying to programmatically update some metadata of audio file attached to a post. I have been able to update the artist and album properties of the audio file but title doesn't stick. I can go ...
0
votes
2answers
658 views

Adding a download link to native Wordpress playlist

I need a link to enable downloading of each audio file item within the native wordpress playlist. I've used the script from this thread >> Download button for wp audio player but there isn't the ...
0
votes
1answer
98 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
21 views

WP audio playlist width

How can I adjust the width on the WP audio playlist if I'm using the following: [wpse_playlist tracknumbers="false" images="false" artist="false"] [wpse_trac title="Track1'" src="www.mypage.com/...
0
votes
0answers
26 views

Use audio tag with FTP address?

Can anyone tell me why I can't use a FTP address in the Audio shortcode? It's simply not playing... [audio src="ftp://domain.no-ip.org/file.mp3"] PS; when going to the address (above is not a real ...
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 ...
0
votes
1answer
38 views

Wordpress default audio playlist - how to add custom caption?

The wordpress default audio playlist shows the caption of the media file in the list. Is there any way I can add custom title while creating playlist? I am using the same audio file in 2 playlists, ...
4
votes
2answers
287 views

How to remove hardcoded characters from playlists?

I'm working on a Wordpress theme for a website that makes heavy use of its default media player. In the process of styling its playlists, I found that a core file injects hardcoded characters that can'...
1
vote
0answers
130 views

Reloading a Mediaelement audio player

I am writing a WordPress plugin (private and not intended to be publicly available) in which I am displaying a huge list of audio files (about a thousand) along with ONE audio player (like the one ...
1
vote
1answer
119 views

Audio player shortcode not showing up when using variable

I am trying to call a custom term meta field in an audio shortcode that I have placed on a custom page that I am working on. The field contains a link to a .mp3 file that I have uploaded to my media ...
0
votes
2answers
941 views

How To Download WordPress Audio Attachments

I've been searching high and low trying to figure out how to create download links for audio files uploaded to a post. I know how to display the audio url directly into the theme template, but when ...
0
votes
1answer
29 views

How to restore deleted audio files from media library

I accidentally deleted my audio files from the media library. Is it possible to restore them
0
votes
1answer
30 views

Add audio file to post using custom term meta field as link [closed]

I am trying to add an audio file to my custom post type using a custom term meta field as a link, but I can't get it right. Here is how I would normally display a custom term meta field: <?php $...
0
votes
0answers
16 views

Do audio files impact the loading time of the website?

I have to upload 10 audio files (sermons) on the WordPress website for my client, and these files are of around 70mbs explicitly. I need to know whether those audio files affect the loading time of ...
0
votes
1answer
551 views

How to remove audio player styles added by mediaelement.js JavaScript?

I'm working with the mediaelement.js CSS in WordPress and noticed a style attribute is being added to my .mejs-container element. I assume this is being added via JavaScript because the width and ...
0
votes
0answers
28 views

WordPress Audio Player

I have a record pool website. I have various PLAY and PAUSE buttons for the file demos. I need to make my progress bar activate whenever I click on the PLAY button that you can see in the attached ...
0
votes
0answers
15 views

Display audio file in audio.php

This is gonna sound stupid, but I couldn't find the answer anywhere: I need to have an attachment page for audio files (audio.php), but I have no idea how to display the media player on this page. ...
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?
0
votes
1answer
135 views

Insert Link to Audio versus Embed Audio Player

I've run into a very odd problem. One of my authors will upload an audio file in the Media Manager, and instead of giving the option to embed a media player, it just inserts a link to the audio file. ...
2
votes
0answers
42 views

WP REST- video and audio players

Im build VUE JS based theme, and Im using WP REST v2. And there is a problem, I can't make video and audio playlist working (build-in WP feature). I already added: wp_enqueue_style( 'wp-mediaelement' ...
0
votes
1answer
401 views

download button for audio file in post [closed]

I am setting up a website for audio files, i have uploaded an audio file and inserted in a post in given link http://darsequranmardan.com/quran/siparah-18/1-surah-al-mumenoon-ayat-1-to-16/ the audio ...
0
votes
1answer
215 views

How to add data attributes to the wordpress audio shortcode

I'm trying to integrate fullpage.js into a wordpress theme. To get the audio to keep playing between sections I need to add the data attribute data-keepplaying to the <audio> tag generated by ...
1
vote
0answers
26 views

Trim Audio Files [closed]

Is there a plugin anyone recommends that trims audio files? The most important thing is that the member/user has the ability to choose the where in the audio file the 30 sec trim will happen. Thanks!...
1
vote
1answer
204 views

Using track metadata from audio shortcode

How can i add an audio track in the editor and then access its metadata. When you upload the audio track before inserting it you can fill in Artist info, track name, album and description. Is there a ...
0
votes
1answer
23 views

Continous audio play in pages

I'm new on Wordpress and I want to add a plugin which it can play audio files, and when I go on another page from the blog, it has to continue the music from where it was paused. I tried with many ...
1
vote
0answers
65 views

How can I implement shortcode on click event

I am a newbie in WordPress not totally but 6 months. So I am finding the new thing and practicing on WordPress. I want to know that how can I implement shortcode on click event means I have a ...
0
votes
0answers
17 views

Add audio post from smartphone

I'm working on a personal website for a friend of mine. It's a travel diary and I want to let him add as many post types as possible. I've been able to easily let him add photos and post (of course) ...
3
votes
1answer
340 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 ...
1
vote
1answer
3k views

Wordpress audio player causing js error, mediaelementplayer is not a function

I'm using the built in Wordpress audio player with my own skin, I needed to set the default volume to 100 so I put this into footer.php <!--Change Wordpress Audio Player Default Volume--> <...
1
vote
2answers
107 views

Making audio playlist by getting page's parent's ID

So right now the site automatically creates pages when a post is updated. I want this page to include an audio playlist. So what I do, is simply add the shortcode: [playlist]. Then, when the audio ...
1
vote
2answers
827 views

Wordpress and WebRTC?

I'm pretty new to WordPress and I was wondering about WebRTC integration : user permissions, page integration... I'm especially interested in chat communications (writing and audio, video is not my ...
3
votes
1answer
731 views

Is wp_read_audio_metadata() function deprecated?

I am trying to use the function wp_read_audio_metadata() to read the metadata for an mp3 file uploaded to a post using acf's file field. Below is my code: <?php $audio_file = get_field('...
0
votes
0answers
692 views

Hide download button from audio player

[embed width="28"]http://audio.itunes.apple.com/apple-assets-us-std-000001/AudioPreview91/v4/e7/e0/fb/e7e0fbfb-5582-ee65-6a81-823b5ecf9186/mzaf_5076836927047056840.plus.aac.p.m4a[/embed] Since ...
1
vote
0answers
92 views

On screen music/audio player that grabs track URL [closed]

I have a question about a setup I am trying to achieve. I currently am setting up a site with the purpose to buy and sell instrumentals. I have setup the desired instrumental list layout which you can ...
0
votes
1answer
1k views

Adding simple (one button) Audio player using Custom Fields?

Could you please help me finding a way to adding a simple audio player to my posts using Custom Fields. The player will only have Play functionality and nothing more needed. The use case is in some ...
-1
votes
1answer
127 views

Number of times an audio file has been played using custom player

I saw the question & answer to "How to get the number of times an audio file has been played" and I am looking for the same result, but I am not using the native WP audio player. I am using a ...
0
votes
1answer
77 views

Create an archive page(loop) for edd products (music files) with an audio player?

How would I create an archive page(loop) for edd products (music files) with an audio player, so that users can play every song of the loop without leaving the page?
0
votes
1answer
668 views

Need to hide/remove volume bar in WordPress Default Player to give more room to progress bar

I am a rookie and I am trying to make my players to look like this , but I have been trying for a couple of days and all I can do is hide it with .mejs-horizontal-volume-slider, { display: none !...
2
votes
1answer
379 views

Changing playlist shortcode thumbnail sizes?

I'm using do_shortcode() to display a custom WordPress audio playlist. By default the playlist will load cover art for each audio file (the attachment's featured image) and change according to what ...
2
votes
1answer
78 views

Audio Playlists - Multiple file type support?

I know when uploading an audio file (mp3) to a WordPress post, I can embed the player. I can then edit the embed to also include a link to the ogg version of the file to support Firefox. I can't seem ...
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, ...
1
vote
1answer
1k views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
0
votes
1answer
2k views

Display Audio Attachment URL

To get the image url from a Post Thumbnail in WordPress to display it in a template, I would use: <?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,'...
5
votes
3answers
1k views

How to add 'class' attribute into shortcode [audio]?

I would like to style two MediaElement players on the same page differently, and figured out the easier way to do this (compared to adding a completely new shortcode and enqueueing a new stylesheet, ...
1
vote
1answer
327 views

wp_audio_shortcode shows player and url [closed]

When I use my code below inside the WP loop I get to see both the player and the url. Needless to say, I only want to see the player. How to correct my code so it'll only show the player? My code ...