Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 7th, 2010  |  syntax: PHP  |  size: 0.85 KB  |  views: 1,695  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>';