Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [audio]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
21 views

Wordpress MediaElement audio player won't seek and resets back to the start when files are locally hosted

Edit: If anyone runs across a similar issue; the problem was I had Cloudflare DNS Proxy turned on for my server and that was causing the audio issues. It seems to be a semi-common problem from ...
Nate M.'s user avatar
  • 77
0 votes
1 answer
25 views

audio tags no longer working

On my website, I had a plugin, that displayed a media tag like [audio src=path/file.mp3]. It returned this tag in the HTML retruned from the shortcode function. function init() { add_shortcode('...
Lorenz Meyer's user avatar
0 votes
1 answer
33 views

how to switch out music file for another using php echo

this is the current code and audio. I would like to change for a different song, how do I do that? <source src="<?php echo get_stylesheet_directory_uri(); ?>/thousandyears-fade.mp3" ...
Gabi's user avatar
  • 1
0 votes
0 answers
138 views

Clicking "Download MP3" downloads 0kb file

I have a problem on my client's Wordpress site. The client has MP3 files that they would like to be able to be played in the browser but also be downloadable. Playing in the browser isn't a problem, ...
james11a's user avatar
2 votes
1 answer
163 views

How to make WordPress audio playlist understand the direct links of audio files shared on google drive?

this is my first post here and I excited! I used this approach to make a playlist with external links of audio files I have in my drive but unfortunately It couldn't recognize the google drive direct ...
Folani's user avatar
  • 31
0 votes
0 answers
243 views

How can I create a WordPress dynamic download counter

I am creating a WordPress website that enable customers to download music and I want to track downloads and display the results next to the WordPress download button. I am using the WordPress convert ...
Sam's user avatar
  • 1
2 votes
1 answer
582 views

Removing Theme Audio Player - Using Browser Default

I use the loop to post remotely to a detached website. When I post audio to a page that contains <?php wp_footer(); ?> I get an audio player that does not support right-click copy audio link. I ...
Daf57's user avatar
  • 23
0 votes
1 answer
163 views

Make Audio Element Persistent Across Pages

I'm making a radio site and as part of that there's a listen live element which uses an audio plugin. When the user clicks on a navigation item to bring them to a new page the audio stops (...
Toby's user avatar
  • 1
0 votes
0 answers
30 views

Disguise Multi-Page site as Single Page

I'm building a site that needs the audio element on the page to be persistent and keep playing when the user clicks on any navigation item. It's located in the header so I want that to be sticky too. ...
Toby's user avatar
  • 1
0 votes
0 answers
43 views

Is the WP audio shortcode still relevant?

I'm not very familiar with audio integration so I'm wondering why I couldn't simply use the plain <audio> element? This would avoid the overhead of medialement.js that WP seems to use. I'm fine ...
Kerans's user avatar
  • 31
1 vote
2 answers
437 views

Audio file's length (duration) is missing from Attachment Details in Media Library [closed]

I'm uploading a different mp3 file to each post as an attachment and using wp_get_attachment_metadata() to print the duration of the mp3 file. Sometimes the response from wp_get_attachment_metadata() ...
Keyslinger's user avatar
0 votes
1 answer
736 views

RSS audio enclosures have length of zero (podcast duration is missing)

I have had success at creating an RSS feed with enclosures containing episodes of my podcast by simply creating a post and inserting an mp3 file from my media library into it via the robust Add Media ...
Keyslinger's user avatar
-1 votes
1 answer
435 views

Auto play audio using WP Maintenance Mode Plugin [closed]

I am using the plugin ‘WP Maintenance Mode’ to load a under maintenance website on a website. I would like for audio to play as soon as somebody lands on the website and for audio player to remain ...
user202731's user avatar
0 votes
1 answer
29 views

Show audio player only in specific post type category

I have a code that autoplays audio and it is working well but the stuff is I want the autoplay to only run in a specified woocommerce category. Any help will be appreciated. The code is below. ...
Cinnia Entertainment's user avatar
0 votes
1 answer
115 views

Show audio player only in specific post type

I have a code that automatically auto-plays audio, I found it on this site and it works. The issue there is that it auto-plays it site-wide. Is there a way to only enable the autoplay for specific ...
Cinnia Entertainment's user avatar
0 votes
1 answer
162 views

Is the .flac audio file format supported by Wordpress?

It works for me but I can't find evidence of it being officially supported so I'm concerned it may not work for everyone.
Jules's user avatar
  • 83
1 vote
1 answer
1k views

Wordpress audio player has two different styles

So, when my page loads a see an audio player that looks like: But then, when the page finishes loading then it looks like: I noticed this in Google Chrome, but am not sure whether it's a Google ...
Josh Rodgers's user avatar
  • 1,173
0 votes
1 answer
208 views

How To Watermark Audio

Does anyone know a way or plugin that will help me to automatically watermark any audio uploaded in the wordpress media library
Cinnia Entertainment's user avatar
1 vote
1 answer
366 views

Changing "elapsed time" to "time remaining" on MP3-jPlayer audio player with CSS or PHP changes

I am trying to change the audio player on my website to show "time remaining" rather than "elapsed time". I have managed to make most of the changes I want with CSS or php changes ...
audioscapist's user avatar
0 votes
1 answer
49 views

Override wordpress audio playlist

To overwrite wordpress audio you would use wp_audio_shortcode_override filter and then return your own output. Is there a way to overwrite audio playlist? [playlist ids="1268,1265,1196"]
Toniq's user avatar
  • 437
1 vote
0 answers
56 views

Wordpress Audio tag problem in Chrome

I have been writing a wordpress blog for about 4 years now and only in the last few months have I had a problem with using [AUDIO] tags. I embed audio using a tag such as [audio src="http://www....
Jim Geselbracht's user avatar
0 votes
0 answers
632 views

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

I have a small number of MP3 files on my site and I want to track the number of times the play button is pressed. I am using the inbuilt Wordpress MP3 player and have inserted the file by using ...
Alex Hammerstein's user avatar
0 votes
0 answers
228 views

How to disable theme's player styles so I could use plugin player?

I'm trying to build online radio website and i'm currently using "Sounder" theme, but the problem was that I couldn't get "now playing" data from the stream. I installed "Shout" HTML5 player and it ...
UGWorld Finland's user avatar
0 votes
0 answers
627 views

How to upload Web-record Base64 Wave Audio file in WordPress Post (front-end form)

I created a WordPress post form that works well And I want to add a field: Browser recording audio file Based on base64 - (blob file) And upload when posting. My javascript code is : https://...
yasin taqizade's user avatar
1 vote
0 answers
46 views

How do I replace a audio gutenberg block to native audio wordpress

I am developing a blog theme, I would like to change the output of the audio gutenberg block to native wordpress. Any hint Gutenbergs output: <audio controls="" src="http://photer/wp-content/...
Алекс Марвин's user avatar
1 vote
0 answers
110 views

Load MediaPlayerElement after Infinity Scroll loads more posts

I am using Infinite Scroll on a site that is using a custom styled MediaPlayer Element (using Wordpress' built-in MediaElements.JS). The style initially loads fine, but once Infinite Scroll loads ...
NichCitarella's user avatar
1 vote
0 answers
983 views

Change audio player style

I want to change the WordPress audio player. I need to keep the prosses bar(timeline) and hide other stuff like play, stop, volume and etc. When I use the control attribute in the audio tag, all ...
Mohammad's user avatar
0 votes
1 answer
398 views

Extend WordPress Audio Widget to accept HLS (.m3u8) URLs

I'm working on a new FM radio station website, I was trying to use the default WordPress Audio Widget to play their live audio stream. The problem was that the Insert from URL option doesn't accept ....
Jaafar Abazid's user avatar
-1 votes
1 answer
565 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 ...
Matheus Ribeiro's user avatar
2 votes
1 answer
1k 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 ...
jsmod's user avatar
  • 501
1 vote
1 answer
200 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, ...
jsmod's user avatar
  • 501
0 votes
1 answer
2k 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) ...
JackB's user avatar
  • 5
0 votes
1 answer
97 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/...
Mrinj's user avatar
  • 1
0 votes
1 answer
237 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, ...
Amira's user avatar
  • 3
1 vote
0 answers
426 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 ...
GingkoFr's user avatar
1 vote
1 answer
434 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 ...
Darren's user avatar
  • 13
0 votes
1 answer
126 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
Tara Rick's user avatar
0 votes
1 answer
118 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 $...
harvey's user avatar
  • 215
0 votes
0 answers
202 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 ...
Ameen Khan's user avatar
0 votes
0 answers
55 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 ...
cubaton3's user avatar
0 votes
1 answer
193 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. ...
Sof's user avatar
  • 1
4 votes
2 answers
819 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'...
Gui Odai's user avatar
3 votes
1 answer
193 views

WP REST - video and audio players

I'm building a VUE JS based theme, and I'm using WP REST v2. There is a problem - I can't make video and audio playlists work (built-in WP core feature). I already added: wp_enqueue_style( 'wp-...
Isu's user avatar
  • 407
0 votes
1 answer
151 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. ...
Jared Counts's user avatar
1 vote
2 answers
2k 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 ...
Blix's user avatar
  • 41
0 votes
1 answer
1k 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 ...
Abu Bakar's user avatar
0 votes
1 answer
836 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 ...
Ralphonz's user avatar
  • 344
1 vote
0 answers
82 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!...
GitDemon's user avatar
  • 111
1 vote
1 answer
1k 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 ...
Marcos Di Paolo's user avatar
0 votes
1 answer
41 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 ...
Elghin's user avatar
  • 1