Skip to content

Commit

Permalink
Release v4.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc committed Feb 27, 2015
1 parent 972c8bd commit ed8ccf5
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 93 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ CHANGELOG
=========

## HEAD (Unreleased)
* @gkatsev fixed disabling of default text tracks ([view](https://github.com/videojs/video.js/pull/1892))
_(none)_

--------------------

## 4.12.2 (2015-02-27)
* @gkatsev fixed disabling of default text tracks ([view](https://github.com/videojs/video.js/pull/1892))

## 4.12.1 (2015-02-19)
* @gkatsev fixed the track list reference while switching techs that use emulated tracks ([view](https://github.com/videojs/video.js/pull/1874))
* @gkatsev fixed a Firefox error with the captions settings select menu options ([view](https://github.com/videojs/video.js/pull/1877))
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.12.1",
"version": "4.12.2",
"main": [
"dist/video-js/video.js",
"dist/video-js/video-js.css",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.12.1",
"version": "4.12.2",
"keywords": [
"videojs",
"html5",
Expand Down
27 changes: 0 additions & 27 deletions dist/video-js/lang/zh.js

This file was deleted.

2 changes: 1 addition & 1 deletion dist/video-js/video-js.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
Video.js Default Styles (http://videojs.com)
Version 4.12.1
Version 4.12.2
Create your own skin at http://designer.videojs.com
*/
/* SKIN
Expand Down
2 changes: 1 addition & 1 deletion dist/video-js/video-js.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions dist/video-js/video.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ vjs.ACCESS_PROTOCOL = ('https:' == document.location.protocol ? 'https://' : 'ht
* Full player version
* @type {string}
*/
vjs['VERSION'] = '4.12.1';
vjs['VERSION'] = '4.12.2';

/**
* Global Player instance options, surfaced from vjs.Player.prototype.options_
Expand Down Expand Up @@ -7223,7 +7223,7 @@ vjs.Html5.prototype.createEl = function(){


vjs.Html5.prototype.hideCaptions = function() {
var tracks = this.el_.textTracks,
var tracks = this.el_.querySelectorAll('track'),
track,
i = tracks.length,
kinds = {
Expand All @@ -7232,8 +7232,9 @@ vjs.Html5.prototype.hideCaptions = function() {
};

while (i--) {
track = tracks[i];
if (track && track['kind'] in kinds) {
track = tracks[i].track;
if ((track && track['kind'] in kinds) &&
(!tracks[i]['default'])) {
track.mode = 'disabled';
}
}
Expand Down
Loading

0 comments on commit ed8ccf5

Please sign in to comment.