diff --git a/.eslintrc.json b/.eslintrc.json index 63fefe4d..c8dc1b74 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -32,6 +32,7 @@ "message": "Use local parameter instead." } ], + "no-param-reassign": [2, { "props": false }], "array-bracket-newline": [2, { "minItems": 2 }], "array-element-newline": [2, { "minItems": 2 }] }, diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c4779d3c..670d8a5b 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,8 +1,8 @@ ### Link to related issue (if applicable) -### Sumary of proposed changes +### Summary of proposed changes -### Task list - -- [ ] Tested on [supported browsers](https://github.com/sampotts/plyr#browser-support) -- [ ] Gulp build completed \ No newline at end of file +### Checklist +- [ ] Use `develop` as the base branch +- [ ] Exclude the gulp build from the PR +- [ ] Test on [supported browsers](https://github.com/sampotts/plyr#browser-support) diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..d2722414 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +node_js: + - 'lts/*' + +script: + - npm run lint + - npm run build diff --git a/changelog.md b/changelog.md index 192efee0..8f46e701 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,27 @@ +# v3.3.10 + +* Fix for buffer display alignment and incorrect BEM classname +* Fix for playback not resuming position after quality swap (fixes #991, thanks @philipgiuliani!) +* Travis integration (thanks @friday!) +* Translate quality badges and quality names (thanks @philipgiuliani!) +* Improve captions handling for streaming (thanks @friday!) +* Call duration update method manually if user config has duration (thanks @friday!) + +# v3.3.9 + +Again, more changes from @friday! + +* Restore window reference in `utils.is.cue()` +* Fix InvalidStateError and IE11 issues +* Respect storage being disabled for storage getter + # v3.3.8 +Many changes here thanks to @friday: + * Added missing URL polyfill * Pause while seeking to mimic default HTML5 behaviour -* Add 'seeked' event listener to update progress (fixes #966) +* Add `seeked` event listener to update progress (fixes #966) * Trigger seeked event in youtube plugin if either playing or paused (fixes #921) * Fix for YouTube and Vimeo autoplays on seek (fixes #876) * Toggle controls improvements diff --git a/controls.md b/controls.md index 0b543125..088bee8a 100644 --- a/controls.md +++ b/controls.md @@ -116,9 +116,8 @@ const controls = ` Forward {seektime} secs
- - - % buffered + + % buffered 00:00
00:00
@@ -130,8 +129,7 @@ const controls = ` Mute
- - +