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
So I have a custom post type in WordPress that displays html5 videos. Is there a way I could automatically play the next video once it's over and still remain on the same post? I'm thinking something like this would be the perfect example. Here's a link to what I have so far. I have a custom post type called nowthisearth_post and a custom field nowthisearth_media_url that is pulling in the link to the MP4 file. Right now there are …
I'm an editor in a wordpress blog I have embedded an youtube list with this code: [youtube https://www.youtube.com/watch?v=*********&list=**************************] I want that the plalist has the sidemenu opened by defalut. How can I achieve that?
I using the plugin from https://github.com/birgire/wpse-playlist so far I really enjoy it, but I hope anyone can help me to change the code little bit, Like: The original code: [_playlist] [_track title="Ain't Misbehavin'" src="//s.w.org/images/core/3.9/AintMisbehavin.mp3"] [_track title="Buddy Bolden's Blues" src="//s.w.org/images/core/3.9/JellyRollMorton-BuddyBoldensBlues.mp3"] [/_playlist] I want to change it to: [_playlist] http://s.w.org/images/core/3.9/AintMisbehavin.mp3 http://s.w.org/images/core/3.9/JellyRollMorton-BuddyBoldensBlues.mp3 [/_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 ability to ask questions of the poster. I've just used the bottom script by Dave Romsey and placed it in a custom script plugin. Have I missed something by doing this? This produces a download icon on the right of the playlist item, has a …
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, only the wp-playlist.js (and probably wp-playlist.min.js). The reason is because I am trying to add a download link to audio files in a WordPress playlist while keeping it on the same row as the title and file duration. I followed the steps in the previous thread …
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/audio/track1.mp3] [wpse_trac title="Track2'" src="www.mypage.com/audio/track2.mp3] [wpse_trac title="Track3'" src="www.mypage.com/audio/track3.mp3] [/wpse_playlist]
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, and I need the playlists to display different captions for it. What can I do?
I can use WordPress in-built orderby to sort playlist by any column except post_excerpt echo wp_playlist_shortcode( array( 'ids' => '7,8,9', 'order' => 'DESC', 'orderby' => 'post_excerpt', )); WordPress Codex apparently states 'post_excerpt' is not a valid parameter for the 'orderby' parameter, and nobody nowhere knows how to make orderby work with post_excerpt. How to bypass this limitation?
I am creating a simple audio WordPress theme, and have a playlist being rendered in the front page using short-code [playlist ids="29,30,31,32,33,34]". How to list only the songs with title (or artist) that matches the text inside an input? After days of research I came up with this method where I unhook the wp_underscore_playlist_templates() function and create my own version prefix_wp_underscore_playlist_templates(). Afterwards I use jQuery to check if data.title contains the search string. This correctly lists only the items that …
I often use get_media_embedded_in_content to get the audio or video embedded inside post or page content. But it doesn't seem to work with playlist. I have tried this code $main_content = apply_filters( 'the_content', get_the_content() ); $media = get_media_embedded_in_content( $main_content, array( 'audio', 'video', 'playlist', ) ); And nothing inside the audio tag: string '<audio controls="controls" preload="none" width="618"></audio>' Is it possible to do that? Thanks for all your helps!
Is there a function similar to get_post_gallery() that would retrieve a posts playlist(s)? If not can anyone suggest the best way to get the playlist (audio or video) from a post?
I'm using wp_playlist_shortcode() to output an audio playlist. For example: echo wp_playlist_shortcode( array( 'ids' => $track_ids ) ); Thanks to the idea in answer 142974, I'm unhooking the wp_underscore_playlist_templates() function and using my own version prefix_wp_underscore_playlist_templates() so I can customise the output of playlist items. For example: add_action( 'wp_playlist_scripts', function() { remove_action( 'wp_footer', 'wp_underscore_playlist_templates', 0 ); add_action( 'wp_footer', 'prefix_wp_underscore_playlist_templates', 0 ); } ); For now I'm just copying the contents of wp_underscore_playlist_templates() to prefix_wp_underscore_playlist_templates(). Inside my custom prefix_wp_underscore_playlist_templates() function, a …
I'm using the WordPress playlist shortcode to present a few audio samples on a given page. For example: [playlist images="false" artists="false" ids="542,543"] The shortcode, by default loops the playlist. The documentation on the codex doesn't show an option to disable autorepeat/looping of the playlist via a parameter. I need to disable the looping of the playlist; that is play it only once. I've tried binding to the 'ended' event as suggested on this post but I'm not sure if this …