Support » Plugin: Media Library Assistant » How can I create an MP3 playlist?

  • Resolved Edith

    (@terragirl)


    First off many thanks for this plugin and the great documentation! I’m new to MLA. The gallery function is easy to use, but I’m struggling to see if I can create an MP3 playlist with MLA. Is this possible? If yes, how?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for the positive feedback and for your question. I am not quite sure what you mean by “an MP3 playlist“. You may be referring to the WordPress [playlist] shortcode:

    Playlist Shortcode

    This shortcode accepts an ids parameter (along with others) and can be used with th [mla_gallery] shortcode’s “Support for Other Gallery-generating Shortcodes”. See the Documentation tab for more details. For example, you can try something like:

    [mla_gallery post_mime_type="audio/mpeg" post_parent=all mla_alt_shortcode=playlist]

    The above example should produce a playlist of all the audio files in your Media Library. Of course, you can use any of the MLA data selection parameters to filter the gallery display.

    You might also find something of use in these earlier topics:

    Using wordpress embeds with MLA gallery?

    Audio Player

    I hope that gets you started on a solution that fits your needs. I am marking this topic resolved, but please update it if you have problems or further questions regarding the above suggestions, or if I did not understand your question.

    Note that I will be travelling from February 10 until March 1 and unable to respond to support requests during that time. Thanks for your patience and understanding.

    Brilliant, many thanks, that code works perfectly! I was missing “mla_alt_shortcode”, wonderful how versatile your code is! Safe travels & thank you for a great plugin and friendly help.

    • This reply was modified 10 months, 3 weeks ago by Edith.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I create an MP3 playlist?’ is closed to new replies.