MediaElement.js - HTML5 Video & Audio Player
Playing audio linked to post (1 post)

  1. JCaternolo
    Posted 3 years ago #

    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MediaElement.js - HTML5 Video & Audio Player
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.