Closed (fixed)
Project:
Embedded Media Field
Version:
6.x-1.17
Component:
Embedded Video Field
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2009 at 21:55 UTC
Updated:
2 Aug 2010 at 17:30 UTC
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&locale=en_US&autoplay=0&environment=\"/></object>";
}
return $output;
}
| Comment | File | Size | Author |
|---|---|---|---|
| emvideo-sevenload.patch | 1.26 KB | yamboy |
Comments
Comment #1
aaron commentedcommitted, thanks @yamboy!