Using Series Engine which uses the WP audio player. We need to add rewind and fast forward 15 seconds to the player but cannot get anything to work. Anybody know how I can do this?
[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 WordPress was updated to version 4.7, the audio player changed: after pressing the play icon, the play button now comes with other options, "download" and "mute". I want to hide those, and turn back to the simple play - pause Below is the image: In the past, after playing 'play', only the 'pause' button appeared as seen in the image below: I want it back. Any idea on how to do this?
I've been searching high and low trying to figure out how to create download links for audio files uploaded to a post. I know how to display the audio url directly into the theme template, but when it's clicked, it just starts to stream the audio right in the browser. I need a way to prompt the file to download once clicked. Looking for more of a snippet for the functions.php file than a plugin.
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. When I use the_content(), it doesn't display the file itself. I think I have to use the audio shortcode, but I don't know how to retrieve the id for audio files.
I want to add the native html5 audio player to the header of my custom WordPress theme but I want to be able to upload and change the audio files from wordpress admin. No idea which direction I should take... (Custom Post Types ?)
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 through media library and edit the title and it works but not through backend. Can you please assist? Here's how I do so now: $meta = wp_get_attachment_metadata( $attachment->ID, false); $meta = array ( 'artist' => $mainArtist, 'title' => $TitleAndFeaturedArtist, 'album' => ' ', …
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 Learning website which publish new vocabularies and each vocabulary should have Pronunciation. The final result would be something like this image Now, I worked with Custom Fields and I know how to get back custom field values. The problem is I don't know …
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, but when the "Download MP3" link is clicked it opens the "Save/Save As" browser dialogue and then downloads a 0kb file with the correct file name. I'm new to Wordpress development... any ideas on how to get the downloads to work properly? …
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-mediaelement' ); wp_enqueue_script( 'wp-playlist' ); but from there I'm not sure how to make it work. I just can't make it work. When I insert content from the REST API into DOM the video and and music playlists are not working. I have access to WPPlaylistView …
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 link as a audio type file. Would you please guide me how I can solve this issue!? Thank you in advance and sorry if my English is not well enough! @birgire
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 audio to file to enable them to download the audios..
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 assume that this is the WP player and it's replacing the browser player. On pages where I exclude the footer call I get the default browser player – it does support the right-click options. I could just leave the footer bit off – …
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 (understandably). Is there a way to keep the audio playing smoothly?
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. One of the solutions I want to implement is converting my multi page site to a single page so that if the user clicks on any navigation item on the surface it looks they're on a new page (url at the …
My blog consists exclusively of audio posts, made of: title, short description, WP audio element, a few tags. As usual, when a user clicks a tag, he's presented with a page listing all relevant posts. Is there a way for me to automatically turn this listing into a playlist with a "Play All" button? Currently, the user has to view each post in order to play it, which is a major hassle. I already tried various "playlist" plugins but they …
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() does not contain the file length and when I inspect the mp3s inside the Media Library, some of them display a length and some do not: I suspect that there are some encoders that produce an mp3 with the length attribute and some that don't. So far I've tried Audacity's LAME encoder …
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 with targeting only recent browsers that support <audio> . Am I missing something? Cheers.
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 functionality of the post editor. However, I have found that the RSS feed created from these posts includes an enclosure for each mp3 file with its length attribute set to zero: <enclosure url="http://example.com/wp-content/uploads/2020/05/myfile.mp3" length="0" type="audio/mpeg" /> How can I set the length attribute …
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 invisible. <p style="text-align: center;">BACK SOON</p> [audio src="https://myWebsite/wp-content/uploads/2021/03/audio.mp3"] This will load the page and show the audio player and it will play when I press play I have tried [audio src="https://myWebsite/wp-content/uploads/2021/03/audio.mp3 width = "0" height = "0" autoplay=1] to try and get it …
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. add_filter( 'woocommerce_short_description', 'wpse_67108_autplay_music' ); function wpse_67108_autplay_music( $content ) { if ( ! is_singular( 'product' ) ) { return $content; } $audio_files = get_children( array ( 'post_parent' => get_the_ID(), 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'audio' ) ); $audio = ''; if …