The embed code is not working properly for sevenload videos. Some quick tests shows that changing it to this seems to work. a sample patch is attached.

/**
 * the embedded flash displaying the Sevenload video
 */
function theme_emvideo_sevenload_flash($embed, $width, $height) {
  if ($embed) {
    $embed = preg_replace("/\/.*/", "", $embed);
    $output .= "<object width=\"$height\" height=\"$height\" type=\"application/x-shockwave-flash\" data=\"http://static.sevenload.net/swf/player/player.swf?v=142\" id=\"sevenloadPlayer_$embed\"><param name=\"allowScriptAccess\" value=\"always\"/><param name=\"allowFullscreen\" value=\"true\"/><param name=\"flashvars\" value=\"configPath=http%3A%2F%2Fflash.sevenload.com%2Fplayer%3FportalId%3Den%26autoplay%3D0%26mute%3D0%26itemId%3D$embed&amp;locale=en_US&amp;autoplay=0&amp;environment=\"/></object>";
  }
  return $output;
}
CommentFileSizeAuthor
emvideo-sevenload.patch1.26 KByamboy

Comments

aaron’s picture

Status: Needs review » Fixed

committed, thanks @yamboy!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.