Skip to content

Commit

Permalink
Merge pull request #3146 from jwplayer/8.6.0-release
Browse files Browse the repository at this point in the history
8.6.0 release
  • Loading branch information
karimMourra committed Oct 19, 2018
2 parents dc09667 + e3b47e4 commit 14c7dc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jwplayer",
"version": "8.6.0-rc.2",
"version": "8.6.0",
"description": "The JW Player is free for non-commerical use. To buy a license for commercial use, please visit \r http://www.jwplayer.com/pricing/",
"repository": "git@github.com:jwplayer/jwplayer.git",
"homepage": "https://github.com/jwplayer/jwplayer",
Expand Down
5 changes: 2 additions & 3 deletions src/js/view/controls/controlbar.js
Expand Up @@ -278,11 +278,10 @@ export default class Controlbar {
const { liveBroadcast, notLive } = localization;
const liveElement = this.elements.live.element();
const dvrNotLive = dvrLive === false;
const liveButtonText = dvrNotLive ? notLive : liveBroadcast;
// jw-dvr-live: Player is in DVR mode but not at the live edge.
toggleClass(liveElement, 'jw-dvr-live', dvrNotLive);
setAttribute(liveElement, 'aria-label', liveButtonText);
liveElement.textContent = liveButtonText;
setAttribute(liveElement, 'aria-label', dvrNotLive ? notLive : liveBroadcast);
liveElement.textContent = liveBroadcast;
}, this);
_model.change('altText', this.setAltText, this);
_model.change('customButtons', this.updateButtons, this);
Expand Down

0 comments on commit 14c7dc7

Please sign in to comment.