diff --git a/.gitignore b/.gitignore index 4f3d583204..b818b145b0 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ test/coverage/* .sass-cache dist/* + +.idea/ diff --git a/.travis.yml b/.travis.yml index e50c470324..2b9c01e399 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,3 +23,5 @@ sudo: false cache: directories: - node_modules +addons: + firefox: latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 7092a227a6..c3ff336a71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,95 @@ _(none)_ -------------------- +## 5.9.2 (2016-04-19) +* @gkatsev grouped text track errors in the console, if we can ([view](https://github.com/videojs/video.js/pull/3259)) + +## 5.9.1 (2016-04-19) +* @benjipott updated IS_CHROME to not be true on MS Edge ([view](https://github.com/videojs/video.js/pull/3232)) +* @mister-ben blacklisted Chrome for Android for playback rate support ([view](https://github.com/videojs/video.js/pull/3246)) +* @gkatsev made the first emulated text track enabled by default ([view](https://github.com/videojs/video.js/pull/3248)) +* @gkatsev fixed removeRemoteTextTracks not working with return value from addRemoteTextTracks ([view](https://github.com/videojs/video.js/pull/3253)) +* @forbesjo added back the background color to the poster ([view](https://github.com/videojs/video.js/pull/3267)) +* @gkatsev fixed text track tests for older IEs ([view](https://github.com/videojs/video.js/pull/3269)) + +## 5.9.0 (2016-04-05) +* @gkatsev updated vjs to not add dynamic styles when VIDEOJS_NO_DYNAMIC_STYLE is set ([view](https://github.com/videojs/video.js/pull/3093)) +* @OwenEdwards added basic descriptions track support ([view](https://github.com/videojs/video.js/pull/3098)) +* @kamilbrenk Added lang +* @arius28 added greek translation file (el.json) ([view](https://github.com/videojs/video.js/pull/3185)) +* @ricardosiri68 changed the relative sass paths ([view](https://github.com/videojs/video.js/pull/3147)) +* @gkatsev added an option to keep the tooltips inside the player bounds ([view](https://github.com/videojs/video.js/pull/3149)) +* @defli added currentWidth and currentHeight methods to the player ([view](https://github.com/videojs/video.js/pull/3144)) +* fix IE8 tests for VIDEOJS_NO_DYNAMIC_STYLE ([view](https://github.com/videojs/video.js/pull/3215)) +* @OwenEdwards fixed links adding extra tab stop with IE by removing anchor tags on videojs init ([view](https://github.com/videojs/video.js/pull/3194)) +* @scaryguy updated videojs cdn urls in the README ([view](https://github.com/videojs/video.js/pull/3195)) +* @mister-ben updated the time tooltips to use the chosen font family ([view](https://github.com/videojs/video.js/pull/3213)) +* @OwenEdwards improved handling of deprecated use of Button component ([view](https://github.com/videojs/video.js/pull/3236)) +* @forbesjo added chrome for PR tests ([view](https://github.com/videojs/video.js/pull/3235)) +* @MCGallaspy added vttjs to the self-hosting guide ([view](https://github.com/videojs/video.js/pull/3229)) +* @chrisauclair added ARIA region and label to player element ([view](https://github.com/videojs/video.js/pull/3227)) +* @andyearnshaw updated document event handlers to use el.ownerDocument ([view](https://github.com/videojs/video.js/pull/3230)) + +## 5.8.8 (2016-04-04) +* @vtytar fixed auto-setup failing if taking too long to load ([view](http://github.com/videojs/video.js/pull/3233)) +* @seescode fixed css failing on IE8 due to incorrect ie8 hack ([view](http://github.com/videojs/video.js/pull/3226)) +* @seescode fixed dragging on mute toggle changing the volume ([view](http://github.com/videojs/video.js/pull/3228)) + +## 5.8.7 (2016-03-29) +* @llun fixed menus from throwing when focused when empty ([view](https://github.com/videojs/video.js/pull/3218)) +* @mister-ben added dir=ltr to control bar and loading spinner ([view](https://github.com/videojs/video.js/pull/3221)) +* @avreg fixed notSupportedMessage saying video when meaning media ([view](https://github.com/videojs/video.js/pull/3222)) +* @mister-ben fixed missing native HTML5 tracks ([view](https://github.com/videojs/video.js/pull/3212)) +* @mister-ben updated Arabic language files ([view](https://github.com/videojs/video.js/pull/3225)) + +## 5.8.6 (2016-03-25) +* @misteroneill fixed typo and indenting in language files ([view](https://github.com/videojs/video.js/pull/3207)) + +## 5.8.5 (2016-03-17) +* @gkatsev cleared vttjs script handlers on dispose. Fixed tests ([view](https://github.com/videojs/video.js/pull/3189)) + +## 5.8.4 (2016-03-17) +* @gkatsev changed emulated tracks to in novtt to wait for vttjs to load or error before parsing ([view](https://github.com/videojs/video.js/pull/3181)) + +## 5.8.3 (2016-03-10) +* @gkatsev fixed keyboard control of menus with titles. Fixes #3164 ([view](https://github.com/videojs/video.js/pull/3165)) + +## 5.8.2 (2016-03-09) +* @gkatsev fixed chapters menu. Fixes #3062 ([view](https://github.com/videojs/video.js/pull/3163)) + +## 5.8.1 (2016-03-07) +* @gkatsev updated videojs badges in the README ([view](https://github.com/videojs/video.js/pull/3134)) +* @BrandonOCasey converted remaining text-track modules to ES6 ([view](https://github.com/videojs/video.js/pull/3130)) +* @gkatsev cleared waiting/spinner on timeupdate. Fixes #3124 ([view](https://github.com/videojs/video.js/pull/3138)) +* @BrandonOCasey updated text track unit tests to use full es6 syntax ([view](https://github.com/videojs/video.js/pull/3148)) +* @defli added missing var to sandbox index.html example ([view](https://github.com/videojs/video.js/pull/3155)) +* @defli fixed typo and updated Turkish translations ([view](https://github.com/videojs/video.js/pull/3156)) +* @OwenEdwards fixed menu closing on ios, specifically ipad ([view](https://github.com/videojs/video.js/pull/3158)) + +## 5.8.0 (2016-02-19) +* @gkatsev added issue and PR templates for github ([view](https://github.com/videojs/video.js/pull/3117)) +* @Nipoto added fa.json (farsi/persian lang file) ([view](https://github.com/videojs/video.js/pull/3116)) +* @forbesjo updated travis to use latest firefox ([view](https://github.com/videojs/video.js/pull/3112)) +* @Naouak updated time display to not change if values do not change ([view](https://github.com/videojs/video.js/pull/3101)) +* @forbesjo updated track settings to not fail restoring settings when localStorage is not available ([view](https://github.com/videojs/video.js/pull/3120)) +* @mister-ben Added en.json as localization template ([view](https://github.com/videojs/video.js/pull/3096)) +* @misteroneill added alt css as video-js-cdn.css ([view](https://github.com/videojs/video.js/pull/3118)) + +## 5.7.1 (2016-02-11) +* @alex-phillips fixed reference to videojs-vtt.js dependency ([view](https://github.com/videojs/video.js/pull/3080)) +* @gkatsev fixed minified videojs in IE8. Fixes #3064 and #3070 ([view](https://github.com/videojs/video.js/pull/3104)) + +## 5.7.0 (2016-02-04) +* @forbesjo updated emulated tracks to have listeners removed when they are removed ([view](https://github.com/videojs/video.js/pull/3046)) +* @incompl improved the UX of time tooltips ([view](https://github.com/videojs/video.js/pull/3060)) +* @gkatsev updated README to include links to plugins page and getting started and cleaner link to LICENSE ([view](https://github.com/videojs/video.js/pull/3066)) +* @hartman Corrected adaptive layout selectors to match their intent ([view](https://github.com/videojs/video.js/pull/2923)) +* @mister-ben updated Umuted to Unmute in lang files ([view](https://github.com/videojs/video.js/pull/3053)) +* @hartman updated fullscreen and time controls for more consistent widths ([view](https://github.com/videojs/video.js/pull/2893)) +* @hartman Set a min-width for the progress slider of 4em ([view](https://github.com/videojs/video.js/pull/2902)) +* @misteroneill fixed iphone useragent detection ([view](https://github.com/videojs/video.js/pull/3077)) +* @erikyuzwa added ability to add child component at specific index ([view](https://github.com/videojs/video.js/pull/2540)) + ## 5.6.0 (2016-01-26) * @OwenEdwards added ClickableComponent. Fixed keyboard operation of buttons ([view](https://github.com/videojs/video.js/pull/3032)) * @OwenEdwards Fixed menu keyboard access and ARIA labeling for screen readers ([view](https://github.com/videojs/video.js/pull/3033)) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 0000000000..b125eb645b --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,32 @@ +## Description +Briefly describe the issue. +Include a [reduced test case](https://css-tricks.com/reduced-test-cases/), we have a [starter template](http://jsbin.com/axedog/edit?html,output) on JSBin you can use. + +## Steps to reproduce +Explain in detail the exact steps necessary to reproduce the issue. + +1. +2. +3. + +## Results +### Expected +Please describe what you expected to see. + +### Actual +Please describe what actually happened. + +### Error output +If there are any errors at all, please include them here. + +## Additional Information +Please include any additional information necessary here. Including the following: +### versions +#### videojs +what version of videojs does this occur with? +#### browsers +what browser are affected? +#### OSes +what platforms (operating systems and devices) are affected? +### plugins +are any videojs plugins being used on the page? If so, please list them below. diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000000..774e61c179 --- /dev/null +++ b/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +## Description +Please describe the change as necessary. +If it's a feature or enhancement please be as detailed as possible. +If it's a bug fix, please link the issue that it fixes or describe the bug in as much detail. + + +## Specific Changes proposed +Please list the specific changes involved in this pull request. + +## Requirements Checklist +- [ ] Feature implemented / Bug fixed +- [ ] If necessary, more likely in a feature request than a bug fix + - [ ] Unit Tests updated or fixed + - [ ] Docs/guides updated + - [ ] Example created ([starter template on JSBin](http://jsbin.com/axedog/edit?html,output)) +- [ ] Reviewed by Two Core Contributors diff --git a/README.md b/README.md index c87859f325..b83e0c346b 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,26 @@ ![Video.js logo](http://videojs.com/img/logo.png) -# [Video.js - HTML5 Video Player](http://videojs.com) [![Build Status](https://travis-ci.org/videojs/video.js.svg?branch=master)](https://travis-ci.org/videojs/video.js) +# [Video.js - HTML5 Video Player](http://videojs.com) +[![Build Status](https://travis-ci.org/videojs/video.js.svg?branch=master)](https://travis-ci.org/videojs/video.js) +[![Coverage Status](https://coveralls.io/repos/github/videojs/video.js/badge.svg?branch=master)](https://coveralls.io/github/videojs/video.js?branch=master) + +[![NPM](https://nodei.co/npm/video.js.png?downloads=true&downloadRank=true)](https://nodei.co/npm/video.js/) > Video.js is a web video player built from the ground up for an HTML5 world. It supports HTML5 and Flash video, as well as YouTube and Vimeo (through [plugins](https://github.com/videojs/video.js/wiki/Plugins)). It supports video playback on desktops and mobile devices. This project was started mid 2010, and the player is now used on over ~~50,000~~ ~~100,000~~ 200,000 websites. ## Quick start -Thanks to the awesome folks over at [Fastly](http://www.fastly.com/), there's a free, CDN hosted version of Video.js that anyone can use. Simply add these includes to your document's +Thanks to the awesome folks over at [Fastly](http://www.fastly.com/), there's a free, CDN hosted version of Video.js that anyone can use. +Also, check out the [Getting Started](http://videojs.com/getting-started/) page on our website which has the latest urls as well. +Simply add these includes to your document's ``: ```html - - + + ``` Then, whenever you want to use Video.js you can simply use the `