Picture of Chuck Lorenz
Media error after playing
by Chuck Lorenz - Monday, 14 December 2015, 8:48 PM
 

I get this error in the top left corner of the Media player only after it completely finishes:
Error loading this resource

 

The error does not show up in the console, only in the media player. 

I have tried variations of the JSON based on example.json—with/out _playerOptions, with/out poster image, etc—but so far have found no configuration that eliminates the error. 

Has anyone seen this? or see an error in my JSON?

I'm using the latest version of the framework (standalone) and of the Media component.

Here's my JSON:

{
"_id":"c-13",
"_parentId":"b-13",
"_type":"component",
"_component":"media",
"_classes":"",
"_layout":"full",
"title": "Test Media",
"displayTitle": "Test Media",
"body": "This Media component is Trickled. There are three options for indicating component completion and subsequently triggering Trickle: 'inview', 'play', and 'end'.",
"instruction": "Select the play button to watch a short video about providing feedback.",
"_setCompletionOn":"ended",
"_useClosedCaptions":false,
"_startLanguage":"en",
"_media": {
"mp4": "course/en/video/c-150.mp4",
"poster": "course/en/video/c-150.jpg"
},
"_transcript": {
"_inlineTranscript": true,
"_externalTranscript": false,
"inlineTranscriptButton": "View Transcript",
"inlineTranscriptCloseButton": "Hide Transcript",
"inlineTranscriptBody": "This is the area in which the user will read along with the video."
},
"_playerOptions": {
"poster": "course/en/video/c-150.jpg",
"showPosterWhenEnded": true
},
"_pageLevelProgress": {
"_isEnabled": true
}
},

 Thanks!

Picture of Matt Leathes
Re: Media error after playing
by Matt Leathes - Tuesday, 15 December 2015, 9:36 AM
 

Are you using the 'rub' build tool by any chance?

Picture of Chuck Lorenz
Re: Media error after playing
by Chuck Lorenz - Tuesday, 15 December 2015, 1:22 PM
 

Yes, Matt, sure am.

Picture of Matt Leathes
Re: Media error after playing
by Matt Leathes - Tuesday, 15 December 2015, 4:28 PM
 

could well be this then: https://github.com/cgkineo/adapt-buildkit-rub/issues/16

 

Picture of Chuck Lorenz
Re: Media error after playing
by Chuck Lorenz - Wednesday, 16 December 2015, 3:59 PM
 

Thanks, Matt. That link was very helpful. Yes, it seems that my issue was the same--error confined to the rub server. When we loaded the build into the LMS and served it up, no error was received.