Engage (embedded) doesn't show video preview image

Steps to reproduce

The embedded player (/engage/ui/embed.html) does display the player preview image if present as the parsing of the attachments in the episode xml is broken.

Specifically the code in embed-hybrid-initialize.js at ln 873 doesn't work as it looks for elements (via jQuery.find()) in the episode XML without specifying the namespace. This is required in Firefox but not Chrome, therefore to work on both:

$(xml).find('attachment').each(function ()

should change to:

$(xml).find('ns2
:attachment, attachment').each(function ()

etc

Status

Assignee

James Perrin

Reporter

James Perrin

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Time tracking

0m

Components

Fix versions

Affects versions

1.4.0

Priority

Minor