Support » Plugin: MediaElement.js - HTML5 Video & Audio Player » Playing audio linked to post

  • Jason


    I have a plugin (based on p75VideoEmbed) that attaches audio to the post, and I have a query that check if the audio was indeed grabbed, liked such:

    	if ( p75HasAudio($post->ID) ) {
    		echo 'audio grabbed';
    	else {
    		echo 'No Audio Found';

    My problem is how do I pull the audio file attached to the post to play in MediaElement.

    echo do_shortcode('[audio src=""]');

    would it be based on the short code above?

  • The topic ‘Playing audio linked to post’ is closed to new replies.