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.

0
votes
0answers
9 views

How to add a simple music player in post edit page?

I always have an audio link in edit post pages. I want to add a simple player to listen to them before publishing. I read this post but don't know how to add it in edit post page, not in post pages.
-1
votes
1answer
50 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 ...
0
votes
1answer
53 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 ...
0
votes
1answer
32 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
110 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
28 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 ...
0
votes
1answer
40 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, ...
1
vote
0answers
140 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
125 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
1answer
30 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
17 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
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
301 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'...
2
votes
0answers
45 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
136 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. ...
0
votes
2answers
695 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
411 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
232 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
228 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
71 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) ...
2
votes
1answer
352 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 ...
0
votes
1answer
562 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 ...
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 ...
3
votes
1answer
739 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
712 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
93 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 ...
0
votes
1answer
80 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?
2
votes
1answer
385 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 ...
4
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
333 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 ...
2
votes
2answers
107 views

Legacy Audio Shortcode

I have recently redone a site that was originally created in 2011. Of course there were a few big development issues and one of them is the usage of an old audio shortcode: [audio:http://localhost:...
0
votes
1answer
864 views

Audio post format with Advanced Custom Fields

I am using the Advanced Custom Fields plugin to create custom fields for post formats. I have a field that only displays when the audio post format is selected. This is a text filed where the user ...
3
votes
1answer
224 views

Call a custom field in an audio shortcode?

I'm attempting to call a custom field in an audio shortcode. The field I'm calling, enclosure, defines MP3 files that are associated with my respective posts. I'm using the PHP template editor in ...
2
votes
1answer
212 views

Error when overriding only some audio shortcode HTML output

Context I have a function that overrides audio shortcode HTML rendering, thanks to a WordPress hook: wp_audio_shortcode_override I used it this way in an OOP plugin: add_filter( '...
0
votes
1answer
130 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
76 views

Using mediaelement to display gallery of audio

Hello there I am building a theme for multimedia services and I need a gallery of audios. I am looking for a way to use the built in mediaelementplayer. It "kind of" works but I have several issues... ...
0
votes
1answer
69 views

Trying to turn all of my posts into a soundcloud playlist and can't figure out where to start

I have a music blog, and each post contains a soundcloud player. I am designing the site, and would like to find a way to turn all of the posts into a "radio station" or playlist of sorts. Whereas ...
0
votes
1answer
684 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 !...
0
votes
0answers
72 views

problem getting audio url

I have a custom loop that should be getting 6 posts but it's only returning 4. There are 6 in the category $args = array( 'category_name' => 'audio', 'posts_per_page' => -1 ); $audio = new ...
-1
votes
2answers
354 views

Having problems getting the number of plays in a WordPress Playlist from an audio file

I have already seen a similar post here: How to get the number of times an audio file has been played But the code provided by @bonger did not work for me. I uploaded the new functions.php with the ...
1
vote
0answers
119 views

How to get an event to fire using Google Tag Manager for the wordpress audio player?

I am trying to track when people listen to audio I have embeded on a wordpress site via the wordpress [audio] player. I looked at the source code and inspect element of the play button and there is ...