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,
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,
How to disable theme’s player styles so I could use plugin player?
Trying to get the number of times an audio file has been played
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
Clicking “Download MP3” downloads 0kb file
After a few hours… Here is the solution to my own question .mejs-horizontal-volume-slider { display: none !important; } .mejs-controls div.mejs-time-rail { width: 70px !important; } .mejs-time-total { width: 60px !important; } Now my audio player is exactly like the example provided. I hope this helps somebody else.
Your shortcode: should be: Note the src=”” around the filename.
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
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?
Trim Audio Files [closed]