You are here

function theme_emaudio_podcastalley_flash in Embedded Media Field 6

Same name and namespace in other branches
  1. 5 contrib/emaudio/providers/podcastalley.inc \theme_emaudio_podcastalley_flash()
  2. 6.3 contrib/emaudio/providers/podcastalley.inc \theme_emaudio_podcastalley_flash()

The embedded flash displaying the podcastalley audio.

Default width is 419, height is 202.

2 theme calls to theme_emaudio_podcastalley_flash()
emaudio_podcastalley_audio in contrib/emaudio/providers/podcastalley.inc
Implementation of hook emaudio_podcastalley_audio().
emaudio_podcastalley_preview in contrib/emaudio/providers/podcastalley.inc
Implementation of hook emaudio_podcastalley_preview().

File

contrib/emaudio/providers/podcastalley.inc, line 77
This include processes Podcastalley audio files for use by emaudio.module.

Code

function theme_emaudio_podcastalley_flash($embed, $width, $height, $autoplay) {
  if ($embed) {

    /*
    if ($autoplay) {
      $autoplay_value = '&autostart=1';
    }
    */
    $output .= "\n        <object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0\"width=\"{$width}\" height=\"{$height}\" id=\"wimpy\" align=\"center\">\n      <param name=\"allowScriptAccess\" value=\"sameDomain\" />\n      <param name=\"movie\" value=\"http://www.podcastalley.com/player/wimpy.swf?wimpyApp=http://www.podcastalley.com/player/playlist.php?pod_id=" . $embed . "&u=1.xml&wimpySkin=http://www.podcastalley.com/player/paskin.xml&wW=419&wH=202&forceXMLplaylist=yes&defaultVisualExt=jpg&theVolume=100&bufferAudio=0&infoDisplayTime=3&iTextStyle=scroller&startPlayingOnload=yes&popUpHelp=no\" />\n\n      <param name=\"loop\" value=\"false\" />\n      <param name=\"menu\" value=\"false\" />\n      <param name=\"quality\" value=\"high\" />\n      <param name=\"scale\" value=\"noscale\" />\n      <param name=\"salign\" value=\"lt\" />\n      <param name=\"bgcolor\" value=\"#000000\" />\n      <embed src=\"http://www.podcastalley.com/player/wimpy.swf?wimpyApp=http://www.podcastalley.com/player/playlist.php?pod_id=" . $embed . "&u=1.xml&wimpySkin=http://www.podcastalley.com/player/paskin.xml&wW=419&wH=202&forceXMLplaylist=yes&defaultVisualExt=jpg&theVolume=100&bufferAudio=0&infoDisplayTime=3&iTextStyle=scroller&startPlayingOnload=yes&popUpHelp=no\" loop=\"false\" menu=\"false\" quality=\"high\" width=\"419\" height=\"202\" scale=\"noscale\" salign=\"lt\" name=\"wimpy\" align=\"center\" bgcolor=\"#000000\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n    </object>\n    \n";
  }
  return $output;
}