SHARE
TWEET

Untitled

a guest Nov 7th, 2010 1,782 Never
  1. //replace
  2. $playerCode = '<p class="audioplayer_container"><span style="display:block;padding:5px;border:1px solid #dddddd;background:#f8f8f8" id="' . $playerElementID . '">' . sprintf(__('Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version <a href="%s" title="Download Adobe Flash Player">here</a>. You also need to have JavaScript enabled in your browser.', $this->textDomain), 'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW') . '</span></p>';
  3.  
  4. //with
  5.  
  6. $playerCode = '<p class="audioplayer_container"><span style="" id="' . $playerElementID . '">';
  7. $playerCode .= '<audio src="' . $actualFile . '" controls preload="none">';
  8. $playerCode .= '<a href="' . $actualFile . '">Download</a>';
  9. $playerCode .= '</audio>';
  10. $playerCode .= '</span></p>';
RAW Paste Data
Top