Error message: 'Media error: Format(s) not supported or source(s) not found'.
Help,
Lately i'm getting errors in my Lectora 21 desktop projects with mp4 video's
Error message: 'Media error: Format(s) not supported or source(s) not found' ,and below this message the path to the mp4 file;
Things I discovered/tested/used so far:
- the error is generated by the lectora file; mediaelement-and-player.js (line 6966)
- error occurs with browsers Chrome, Firefox, Edge, Safari
- the size of the movie doesn't matter
- the bandwith doesn't matter (tested Wifi, wired and localhost)
- tested with different servers (localhost/preview in Lectora 21, linux/apache and windows server/iis).
- tested with SCORM 1.2, 2004 and html output.
- it doesn't matter if you have 1 or more movies on a page (not sure about this)
- the lectora html5 video player is based on mediaelement.js. The latest version is 5.1 but Lectora uses 4.2.10
- mp4-video's are always encoded as H265 MPEG-4 (part10) (avc1) and MPEG AAC audio (mp4a)/stereo/48000 Hz (mostly we use handbrake to optimize video's)
I cannot reproduce the problem (The error seem to occur randomly), so when the error happens i'm to late to watch the network request (and when you refresh the pase the problem is solved).
I don't know if this is part of the problem but i've discovered some things;
When I open "developers tools" in a browser (F12 on most browsers) and watch "network", I sometimes get and error in the list of (GET) requests. The error doesn't always show up, so I have to refresh the page (F5 and caching disabled) a few times before the error shows up. but it is always the same error. The error shows up with a partial or range request (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range). Which means something like "give me part of the data from a certain point (in bytes) from a mp4 file until the end of the file or to some other point. The server answers normally with a 206 http status code 206 Partial Content. But in the case of the error there isn't even an answer from the server, it looks like something is already going wrong clientside. In Firefox i'm getting "NS_ERROR_PARSED_DATA_CACHED"...
Anyone having the same errors or a solution?
I've included also the html-output of the Lectora 21 if you're interested
thanks in advance...
Answers
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 5 The Training Arcade®
- 5 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products