The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
10 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 ...
0
votes
0answers
8 views

Play more than one Audios Simultaneously

I am working on a WordPress site which is using Media Player. I have to insert audios with each Woocomerce product. Somehow I managed to display the audio with each product on the product listing page....
6
votes
3answers
970 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
428 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 ...
1
vote
1answer
604 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
1k 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,'...
0
votes
0answers
46 views

Embed an audio file from Dropbox

Is there any way I can embed an audio file hosted in Dropbox to play within a Wordpress site? (Like one can with YouTube, Vimeo videos?)
3
votes
3answers
107 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, ...
2
votes
1answer
723 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
95 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 ...
3
votes
2answers
68 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
78 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 ...
0
votes
0answers
61 views

How to add mp3 uploader as custom field in custom post type? [custom-post based plugin ]

i'm developing a plugin which is based on custom post type. i want to upload mp3 file with each new post which is my custom post. for that, i have to upload mp3 file and some meta info of mp3 file. ...
2
votes
1answer
42 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
64 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
0answers
28 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
28 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
0answers
35 views

Show Audio Caption

How to show captions of audio file in a playlist without using plugin? WP shows only title and artist. Is there a solution? Thanks
0
votes
1answer
53 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
217 views

Add audio attachment link to RSS

This is how I'm adding a featured image to my RSS: function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '' . get_the_post_thumbnail( $post->ID, '...
0
votes
1answer
100 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
45 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 ...
2
votes
2answers
385 views

Wordpress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?

If I use on my Wordpress 4.0 the beautiful playlist shortcode I don't see the famous "Next" and "Prev" icons, but only this code in my Html code: <div class="wp-playlist-next"></div> and ...
-1
votes
2answers
199 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
45 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 ...
0
votes
1answer
119 views

Customizing the built-in Media Playlist

I have a simple challenge I can't quite seem to make any progress on: Get the current track (or video) playing and display a link to a transcript of the song. This should be a simple task (and the ...
2
votes
2answers
286 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, ...
1
vote
2answers
655 views

Replace audio links with jplayer using the_content filter

I am attempting to use : add_filter( 'the_content', 'filter_function_name' ); To find all of the anchor tags in my post which link to a .mp3 file, and then replace them with a jplayer instance that ...
0
votes
0answers
71 views

WordPress core playlist function not showing artist and album info

On my test environment, all the information from the ID3 tags show up just fine on the playlists using the core MediaElement.js player. http://labs.mixtapes.tv/audio/mixtapes/chris-webby-checkup-199....
3
votes
2answers
193 views

Audio or playlist shortcode condition according to the amount of files on attachment page

My reason for doing this is for a music & entertainment site where users will have the ability to share music and videos on other websites via embed code. I'm using the audio.php and video.php ...
0
votes
0answers
54 views

Wordpress audio player add class randomly using Audio Album plugin

so i have this player displaying a progress bar, but when i click play, a "style" is added to the progress bar class on several span class. It's either width: 0 or width: 197. I'm using the Audio ...
1
vote
1answer
881 views

Is 'preload=“none”' a valid parameter in the [audio] shortcode in WordPress 3.6?

I know that MediaElement.js is part of the WordPress core in WordPress 3.6. I currently use the MediaElement.js plugin on my WordPress 3.5.1 sites. On some pages, we have several players on one page, ...
0
votes
3answers
246 views

Open template file in Pop Up

I am trying to load a HTML5 Audio player in a popup but am having no luck. The staging site is here The audio player works but not after you click the Listen In Pop Up button/link. Here is my code to ...
0
votes
1answer
120 views

Media Playlist Plugin

Alright so recently I purchased an audio player called "Liner" and I am working with it now converting it into a WordPress plugin but the one thing I am having the most problems with is the fact that ...
0
votes
1answer
255 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 ...
1
vote
0answers
35 views

Audio preloading

I'm using wp_audio_shortcode() to display an audio file in my page. For example: $attr = array( 'src' => 'http://example.com/my-audio-file.wav', 'preload' => 'auto' ); echo ...
0
votes
0answers
235 views

Media Player gone on front end

This seems to have happened since the WordPress 4.0 upgrade (I think). When I use the "Add Media" button for an audio file, I can see the player in the WP backend, and it functions. But it doesn't ...
0
votes
1answer
111 views

How to create a playlist for audio associated with posts per category

I am trying to find out how to create a playlist on the category page. The playlist will play all the songs/audio files associated with posts linked to a given category. Example If i have a category ...
2
votes
1answer
3k 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 ...
1
vote
1answer
2k 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?
1
vote
1answer
203 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 ...
3
votes
1answer
290 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 ...
0
votes
1answer
44 views

What does the “Show Images” do for Wordpress music playlist?

In the new audio playlist in Wordpress 3.9, you can check the options: Show Tracklist Show Artist Name in Tracklist Show Images The last option doesn't really make sense. There is no option to ...
0
votes
1answer
1k views

MediaElement audio tag not visible

Audio tag works normally if I include it in the page. Like this: [audio src="URL_TO_MP3_FILE"] Than another case: I'm trying to make an "audio player" with window.open. I needed two days to do that ...
6
votes
2answers
4k 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.
0
votes
1answer
67 views

Can somebody explain this mediaelement and audio tags

I'm using this built in audio tag. It works for mp3 but with wma I just get this "Download file" link. I read this: http://wordpress.org/support/topic/wmv-videos-are-not-playing but setting type="...
1
vote
1answer
2k 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.
0
votes
2answers
511 views

filter get_children to return all mime types EXCEPT 'x'

Like it says on the tin - Im trying to create a list of post attachments that includes everything except say audio, which I'll feed into a player instead. The filter needs to be generic: 'audio' ...
0
votes
1answer
60 views

Wordpress Background Audio - Continous AutoPlay

I'm kinda of a newbie , but know my way around a bit in Wordpress to code things in place. I would like to know if you happen to know how to create a continous audio play in the background of the ...
3
votes
2answers
2k views

How can I list URLs of all audio files within my media gallery?

I have a music player in my theme that generates its playlist from a javascript file that looks like this var myPlaylist = [ { mp3:'track url goes here', title:'title here', ...