• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mediaelement / mediaelement / 974
74%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2019 06:29AM UTC
Jobs 1
Files 7
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
974

push

travis-ci

berryamin
Undo changes introduced 4.2.11 to fix unmute bug (#2692)

* Update dash.js - Unmute doesn't work in latest release (4.2.12)

The problem occurs since 4.2.11 with the following fix:

3de44e7#diff-8e5b21e030b4838c834057ce630b535b

====================
IE 11 returns IndexSizeError (4.2.10) or InvalidStateError in the console.
If the user tries via the Left/Right arrow keys to seek a new play position before clicking 'play', there's an error in IE 11, because the time-slider node is not attached to the document. The above commits add a condition that the value 0 will not be overwritten with 0.

src/js/renderers/dash.js#154
src/js/renderers/flv.js#145
src/js/renderers/hls.js#142
src/js/renderers/html5.js#76

Until 'play' is clicked the value is 0, formerly 'NaN'. While playing media the value is the currentTime.
====================

In each case:

if (value > 0) node[propName] = value;

To correct the bug where unmute is broken when the volume value is 0, the code needs to change to:

if (value >= 0) node[propName] = value;

In all 4 files.

However, the tweak reintroduces the original IE11 InvalidStateError console error, so it is best to just revert to:

node[propName] = value;

In all 4 files. Forget about IE.

Changed:

src/js/renderers/dash.js#154
src/js/renderers/flv.js#145
src/js/renderers/hls.js#142
src/js/renderers/html5.js#76

* Update flv.js - Unmute doesn't work in latest release (4.2.12)

The problem occurs since 4.2.11 with the following fix:

3de44e7#diff-8e5b21e030b4838c834057ce630b535b

====================
IE 11 returns IndexSizeError (4.2.10) or InvalidStateError in the console.
If the user tries via the Left/Right arrow keys to seek a new play position before clicking 'play', there's an error in IE 11, because the time-slider node is not attached to the document. The above commits add a condition that the value 0 will not be overwritten with 0.

src/js/renderers/dash.js#154
src/js/ren... (continued)

272 of 713 branches covered (38.15%)

327 of 439 relevant lines covered (74.49%)

6.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 974.1 13 Sep 2019 06:29AM UTC 0
74.49
Travis Job 974.1
Source Files on build 974
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #974
  • 69f931b5 on github
  • Prev Build on master (#971)
  • Next Build on master (#978)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc