We're updating the issue view to help you get more done. 

Segment previews not working in Engage player

Steps to reproduce

Looks like the javascript is parsing the json returned from /search/episode.json incorrectly. Not sure if this should be fixed on the client side or the server side.

From segments_ui.js:

imgURLs[i] = data['search-results'].result.segments.segment[i].previews.preview;

Segments portion of JSON returned from /search/episode.json:

"segments": {
"segment": [{
"hit": "false",
"relevance": "-1",
"duration": "68000",
"time": "0",
"index": "0",
"text": "Purpose changes made services changes Respond changing while value Ensure changes evaluated changes planned tested implemented documented controlled manner business risk minimum work",
"previews": {
"preview": {
"ref": "attachment-5",
"$": "http:\/\/localhost:8080\/static\/411c301e-bb7c-46fd-8fc6-68d952e4eed9\/attachment-5\/20120611_133232_021.jpg"
}
}
}
}

Steps to reproduce:
1. Upload and process a recording with a workflow that includes segmentation
2. Click the recording's Play link

Actual Results:
Segment preview images are not loading in the player's timeline, the Segments tab, or the Segment Text tab.

Expected Results:
Segment preview images are shown.

Workaround (if any):

Status

Assignee

Lukas Rohner

Reporter

Douglas Hall

Severity

Non Functioning

Tags (folksonomy)

Components

Fix versions

Affects versions

1.4.0

Priority

Major