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

Activity

Show:
James Perrin
September 10, 2013, 1:40 PM

Revision: 15643
Author: jamesp
Date: 2013-09-10 14:40
Message: MH-9869, added namespace to elements searched for

Greg Logan
September 10, 2013, 4:03 PM

Merged into 1.4.x with rev 15645.

Fixed and reviewed

Assignee

James Perrin

Reporter

James Perrin

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Time tracking

0m

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Minor
Configure