Articles of audio

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 !important; } but when I do this, the space where the volume bar was is […]

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 way you can access that info to, for example, be able to output a metadata caption. Something […]

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 wordpress. However, I’m not sure how to hook into the built-in short code to add the data attribute. Basically, I’m looking for a […]

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, ‘topImage’, array( ‘style’ => ‘margin:0 auto; border: 1px solid #555; display:block;’ ) ) . ” . $content; } return $content; } add_filter(‘the_excerpt_rss’, ‘featuredtoRSS’); add_filter(‘the_content_feed’, ‘featuredtoRSS’); All of […]

Displaying audio player as preview in audio post in WP3.6

I’m testing the new WordPress 3.6 Release Candidate 2 and it’s shortcode and there is something I can’t figure out. The post contains the following content: How can I extract this shortcode and it’s URL and display it as a player in the post preview in index.php? I found the new functions at the bottom […]

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 places a url from a soundcloud audio file, for example and then the the audio file should show […]

audio link produces black box

In chrome and firefox (and maybe others) the audio link does not render a media controller. E.g. In Chrome, view page source show this code in place: <div id=”mep_0″ class=”mejs-container” style=”width: 400px; height: 30px; “> <div class=”mejs-inner”><div class=”mejs-mediaelement”> <audio id=”wp_mep_1″ preload=”none”> <object width=”400″ height=”30″ type=”application/x-shockwave-flash” data=”http://example.com/wp/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement/flashmediaelement.swf”> <param name=”movie” value=”http://example.com/wp/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement/flashmediaelement.swf”> <param name=”flashvars” value=”controls=true&amp;file=”> </object> </audio></div><div class=”mejs-layers”></div><div […]

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’ not ‘audio/mpeg’. (For some reason if ( $mime !== ‘audio/mpeg’ ) will filter out valid mp3 files –– weird.) So […]

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 first concern). At the moment the only available plugins are about video communications and use an external solution (service). Does someone have already addressed this […]

Convert mp3 into ogg?

I using an audio player plugin to play mp3 and ogg files. But I’d want the editor to input only a mp3 file and it should automatically be converted into ogg file and send both files to the front-end. Is there any WP function to convert mp3 files into ogg? I’ve seen some plugins that […]