Bug:

video will not play. this is due to a tab/spaces in the embed code.
this has happened after upgrading to the new Kaltura extension with old Drupal (6.15, 6.16).

Fix:

add a replace function to line 69 of the file /sites/all/modules/kaltura/includes/kaltura.themeing.inc to replace any tabs or spaces in the flashvar parameters.

$embed_options = preg_replace('/\t\s+/', "", kaltura_get_embed_options($params));

Comments

lismail’s picture

Version: 6.x-2.x-dev » 6.x-1.5

Hi,

I am facing similar issue, but with Kaltura module 6.x.1.5. Videos can be played using standar (light or dark) players, but custom players made by KMC won't load. This is due to extra tabs or space in flashvar rendered to html.

Fix:
change line 1062 in kaltura.themeing.inc from:

$flash_vars_str .= "&externalInterfaceDisabled=false&layoutId=". $player_size['layout_id'] ."& pd_original_url=". urlencode($protocol . $_SERVER["HTTP_HOST"] . request_uri()) . $widescreen . $finish_f . $autoplay;

into this:
$flash_vars_str .= "&externalInterfaceDisabled=false&layoutId=". $player_size['layout_id'] ."&pd_original_url=". urlencode($protocol . $_SERVER["HTTP_HOST"] . request_uri()) . $widescreen . $finish_f . $autoplay;

I hope this error will be fixed in the next release.

Thanks,
Lucky

xurizaemon’s picture

Version: 6.x-1.5 » 6.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new1.16 KB