Questions tagged [audio]
The audio tag has no usage guidance.
135
questions
0
votes
1
answer
13
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('...
0
votes
1
answer
27
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" ...
0
votes
0
answers
122
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, ...
2
votes
1
answer
116
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 ...
0
votes
0
answers
231
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 ...
2
votes
1
answer
471
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 ...
0
votes
1
answer
134
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 (...
0
votes
0
answers
26
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.
...
0
votes
0
answers
38
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 ...
1
vote
2
answers
366
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() ...
0
votes
1
answer
614
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 ...
-1
votes
1
answer
423
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 ...
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.
...
0
votes
1
answer
111
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 ...
0
votes
1
answer
147
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.
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 ...
0
votes
1
answer
194
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
1
vote
1
answer
342
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 ...
0
votes
1
answer
40
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"]
1
vote
0
answers
54
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....
0
votes
0
answers
588
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 ...
0
votes
0
answers
218
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 ...
0
votes
0
answers
595
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://...
1
vote
0
answers
42
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/...
1
vote
0
answers
106
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 ...
1
vote
0
answers
952
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 ...
0
votes
1
answer
379
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 ....
-1
votes
1
answer
547
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 ...
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 ...
1
vote
1
answer
197
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
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) ...
0
votes
1
answer
95
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
1
answer
235
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
0
answers
417
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
1
answer
420
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
1
answer
125
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
1
answer
109
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
0
answers
190
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
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 ...
0
votes
1
answer
166
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
2
answers
812
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'...
3
votes
1
answer
182
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-...
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. ...
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 ...
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 ...
0
votes
1
answer
809
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
0
answers
76
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
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 ...
0
votes
1
answer
38
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
0
answers
428
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 ...