diff --git a/CHANGELOG.md b/CHANGELOG.md index ea4b8efa..7f3d2cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,7 +56,7 @@ ### Tests -* Add a test, fix the build, update generator verison ([#184](https://github.com/videojs/videojs-vr/issues/184)) ([17c7ee0](https://github.com/videojs/videojs-vr/commit/17c7ee0)) +* Add a test, fix the build, update generator version ([#184](https://github.com/videojs/videojs-vr/issues/184)) ([17c7ee0](https://github.com/videojs/videojs-vr/commit/17c7ee0)) # [1.5.0](https://github.com/videojs/videojs-vr/compare/v1.4.7...v1.5.0) (2018-09-17) diff --git a/README.md b/README.md index ec5ee8e1..4cf37668 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The most recent versions of: * Firefox * Safari * Mobile - * Chrome on Andriod + * Chrome on Android * Safari on iOS ## Projection support diff --git a/scripts/rollup.config.js b/scripts/rollup.config.js index b7b93118..dc00794d 100644 --- a/scripts/rollup.config.js +++ b/scripts/rollup.config.js @@ -19,7 +19,7 @@ const options = { }; const config = generate(options); -// Add additonal builds/customization here! +// Add additional builds/customization here! // export the builds to rollup export default Object.values(config.builds); diff --git a/src/canvas-player-controls.js b/src/canvas-player-controls.js index 7d6ea90d..8a03a616 100644 --- a/src/canvas-player-controls.js +++ b/src/canvas-player-controls.js @@ -72,7 +72,7 @@ class CanvasPlayerControls extends videojs.EventTarget { onMoveEnd(e) { - // We want to have the same behavior in VR360 Player and standar player. + // We want to have the same behavior in VR360 Player and standard player. // in touchend we want to know if was a touch click, for a click we show the bar, // otherwise continue with the mouse logic. // @@ -94,8 +94,8 @@ class CanvasPlayerControls extends videojs.EventTarget { return; } - // We want the same behavior in Desktop for VR360 and standar player - if(e.type == 'mouseup') { + // We want the same behavior in Desktop for VR360 and standard player + if (e.type == 'mouseup') { this.togglePlay(); } @@ -103,7 +103,7 @@ class CanvasPlayerControls extends videojs.EventTarget { onMove(e) { - // Increase touchMoveCount_ since Android detects 1 - 6 touches when user click normaly + // Increase touchMoveCount_ since Android detects 1 - 6 touches when user click normally this.touchMoveCount_++; this.shouldTogglePlay = false; diff --git a/src/cardboard-button.js b/src/cardboard-button.js index 36a1ffb1..f545192d 100644 --- a/src/cardboard-button.js +++ b/src/cardboard-button.js @@ -92,7 +92,7 @@ class CardboardButton extends Button { // otherwise deactivate it if (!this.active_) { // This starts playback mode when the cardboard button - // is clicked on Andriod. We need to do this as the controls + // is clicked on Android. We need to do this as the controls // disappear if (!this.player_.hasStarted() && videojs.browser.IS_ANDROID) { this.player_.play(); diff --git a/src/plugin.js b/src/plugin.js index b3ff42cc..6b10cc21 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -118,7 +118,7 @@ class VR extends Plugin { } if (projection === 'AUTO') { // mediainfo cannot be set to auto or we would infinite loop here - // each source should know wether they are 360 or not, if using AUTO + // each source should know whatever they are 360 or not, if using AUTO if (this.player_.mediainfo && this.player_.mediainfo.projection && this.player_.mediainfo.projection !== 'AUTO') { const autoProjection = utils.getInternalProjectionName(this.player_.mediainfo.projection);