Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Media doesn't play when upgrading from 7.7.4 to 7.7.6


When upgrading the player from 7.7.4 to 7.7.6 (or any version higher than that) the player stops working.

The player setup is:

// Nothing fancy
player.setup({
hlshtml: true,
playlist: playlist,
width: playerWidth,
height: height.audio,
autostart: true
});

I can trace the issue to a JavaScript error on a blob file at the location:

> blob:http://<Our-Url.com>/<Guid>:formatted

The exception is "SyntaxError: Unexpected token u in JSON at position 1036." (I can provide a screenshot for this) and happend at `JSON.parse(i.config);` in this code:

e.addEventListener("message", function(r) {
var i = r.data;
switch (i.cmd) {
case "init":
var a = JSON.parse(i.config);
e.demuxer = new n["default"](t,i.id,i.typeSupported,a);
try {
(0,
l.enableLogs)(a.debug)
} catch (s) {
console.warn("demuxerWorker: unable to enable logs")
}
break;
case "demux":
e.demuxer.push(new Uint8Array(i.data), i.audioCodec, i.videoCodec, i.timeOffset, i.cc, i.level, i.sn, i.duration, i.accurateTimeOffset)
}
});

The variable `i.config` contains a Json object (I can provide the variable content if needed)

Inscpeting the requests in Developer Tools in the browser, I can see a request to `mp4:...mp4/chunklist_...m3u8` and a subsequent request to `mp4:1933..._aac.mp4/chunklist_w13128....m3u8`

After those requests I get the JS error stated above

As all the files are minified it's rather hard to trace what specific change from 7.7.4 to 7.7.6 caused the problem.

1 Community Answers

George

JW Player Support Agent  
0 rated :

For me to reproduce this issue reliably I will need the following information:

Browser name and version:
Operating System name and version:
Device make and model:
Provide step by step instructions on how to reproduce the issue on your page:
A test page replicating the issue as described in the document below:
https://support.jwplayer.com/customer/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-test-page

The test page must not contain any additional code or CSS, it must only contain the player and concrete steps to reproduce with expected and actual behavior.

Also, please test our latest cloud hosted player.

This question has received the maximum number of answers.