Using mediaelement to display gallery of audio
It sounds like you need to set it up with unique IDs for each audio player. Try changing your PHP to this: <?php if(get_post_meta($value->ID, ‘portfolio_audio’, true)!=”){ ?> <div class=”audio-player”> <h2><?php echo $value->post_title?></h2> <audio id=”audio-player-<?php echo $value->ID; ?>” src=”https://wordpress.stackexchange.com/questions/206209/<?php echo $audio_url; ?>” type=”audio/mp3″ controls=”controls”></audio> </div><!– @end .audio-player –> That should give each audio player a unique … Read more