WP audio playlist width

Found a solution: <div style=”float:left;width:50%;”> <div style=”padding-right:10px;”> </div></div> <div style=”float:right;width:50%;”> <div style=”padding-left:10px;”> </div></div> <div style=”clear: both;”></div> Best,

Show audio player only in specific post type

This is untested, but it seems to me that you could simply replace the: $audio = “<audio src=”https://wordpress.stackexchange.com/questions/382777/$url” controls autoplay loop></audio>”; with $autoplay = is_singular( ‘your_post_type’ ) ? ‘autoplay’ : ”; $audio = “<audio src=”https://wordpress.stackexchange.com/questions/382777/$url” controls $autoplay loop></audio>”; I.e. We use the $autoplay variable to store the autoplay attribute, and if the current page is … Read more

Is the .flac audio file format supported by WordPress?

Yes, the flac audio format is supported. See the doc block for the function wp_get_mime_types() (and other mentions). /** * Retrieve list of mime types and file extensions. * * @since 3.5.0 * @since 4.2.0 Support was added for GIMP (.xcf) files. * @since 4.9.2 Support was added for Flac (.flac) files. * @since 4.9.6 … Read more

Convert mp3 into ogg?

this is not the answer you are looking for, but why not just allow users to upload or input both mp3 and ogg files, and have the player play both mp3 and ogg files?