Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop through track elements for default attr #1892

Closed
wants to merge 1 commit into from

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented Feb 24, 2015

Use track's track attribute to refer to the text track itself
but use the track element to check the default attribute to decide
whether to disable or not to disable.

Fixes #1884.

Use track's track attribute to refer to the text track itself
but use the track element to check the default attribute to decide
whether to disable or not to disable.
@mmcc
Copy link
Member

mmcc commented Feb 25, 2015

lgtm

@mmcc mmcc added the confirmed label Feb 25, 2015
@heff heff added the bug label Feb 25, 2015
@gkatsev gkatsev closed this in 2a1f9f3 Feb 27, 2015
@gkatsev gkatsev added this to the Captions milestone Mar 9, 2015
jgubman added a commit to jgubman/video.js that referenced this pull request Apr 16, 2015
* 'stable' of https://github.com/videojs/video.js: (115 commits)
  Release v4.12.5
  Updated to videojs-swf v4.5.4 to fix a potential security issue. closes videojs#1955
  Release v4.12.4
  Randomized the Google Analytics calls to stay under the limit. closes videojs#1916
  Release v4.12.3
  added bin file for returning the current version
  @heff fixed setting the source to an empty string. closes videojs#1905
  Switched to grunt-aws-s3 for CDN uploads
  Release v4.12.2
  manually tag before github-release
  remove tagrelease and commit unstaged changes manually (github-release handles tagging)
  fixing undefined package reference in cdn-links task
  @gkatsev fixed disabling of default text tracks. closes videojs#1892
  breaking grunt tasks out into separate files to clean up the main Gruntfile. Also removed unused requires from the primary Gruntfile and making sure they are in the appropriate task file.
  Release 4.12.1
  Only rely on selectedIndex to set select option. Firefox recently added selectedOptions support, however, unlike chrome and other browsers, they made it read-only and have it throw an error. In my testing (via http://jsfiddle.net/vwvdywf9/), on various browsers and platforms, just using selectedIndex was sufficient to change the selected option.
  Store text tracks on player not tech
  Moved s3 config to environment variables
  Release 4.12.0
  Cleaned up inconsistencies in the changelog
  ...
@gkatsev gkatsev deleted the hotfix/default-tracks branch August 12, 2015 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants