Dash.js: Reference Client v3.0.0 page broken in Internet Explorer 11

Created on 5 Nov 2019  路  4Comments  路  Source: Dash-Industry-Forum/dash.js

Environment
Steps to reproduce

Navigate to Dash JavaScript Player Version 3.0.0 in Internet Explorer 11

Observed behaviour

javascript syntax error leads to broken page UI, leaving the page unusable

image

Console output
SCRIPT1004: Expected ';'
ControlBar.js (353,25)
SCRIPT1002: Syntax error
DownloadRatioRule.js (55,45)
ReferenceError: 'ControlBar' is undefined
   at Anonymous function (http://reference.dashif.org/dash.js/v3.0.0/samples/dash-if-reference-player/app/main.js:341:5)
   at invoke (http://reference.dashif.org/dash.js/v3.0.0/samples/dash-if-reference-player/app/lib/angular/angular.min.js:41:386)
   at Anonymous function (http://reference.dashif.org/dash.js/v3.0.0/samples/dash-if-reference-player/app/lib/angular/angular.min.js:89:428)
   at p (http://reference.dashif.org/dash.js/v3.0.0/samples/dash-if-reference-player/app/lib/angular/angular.min.js:65:122)
   at g (http://reference.dashif.org/dash.js/v3.0.0/samples/dash-if-reference-player/app/lib/angular/angular.min.js:58:481)
   at g (http://reference.dashif.org/dash.js/v3.0.0/samples/dash-if-reference-player/app/lib/angular/angular.min.js:58:498)
   at Anonymous function (http://reference.dashif.org/dash.js/v3.0.0/samples/dash-if-reference-player/app/lib/angular/angular.min.js:58:119)
   at Anonymous function (http://reference.dashif.org/dash.js/v3.0.0/samples/d

hope that helps!

Most helpful comment

@mattlohkamp could you, please, take a look at my PR #3106 ?
@davemevans , I didn't modify DownloadRatioRule, it seems to work without modifications => yes, I'm a bit lazy! ;-)

Nico

All 4 comments

There are two issues here:
1) ControlBar is never transpiled and contains an await, which is not supported in IE11. Historically, this module has only included IE11-compatible code.
2) An untranspiled DownloadRatioRule is imported for some reason. This contains an =>, which is not supported in IE11. This could possibly be pulled in from the dahsjs object?

  1. find function of Array in PlaybackController is not supported in IE 11

@mattlohkamp could you, please, take a look at my PR #3106 ?
@davemevans , I didn't modify DownloadRatioRule, it seems to work without modifications => yes, I'm a bit lazy! ;-)

Nico

yep looks that should fix the issue.

I was neck-deep in IE11 support land a month ago, I feel your pain - thanks for jumping on this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mihaiav picture mihaiav  路  5Comments

sandersaares picture sandersaares  路  5Comments

ProLoser picture ProLoser  路  5Comments

NguyenTungs picture NguyenTungs  路  5Comments

qchroman picture qchroman  路  4Comments