diff --git a/build/misspellings.txt b/build/misspellings.txt
index 479628361f..e97512d03b 100644
--- a/build/misspellings.txt
+++ b/build/misspellings.txt
@@ -7,10 +7,14 @@
r'(?i)cur+ent': 'current',
r"(?i)doens?'t": "doesn't",
r'(?i)droping': 'dropping',
+ r'(?i)e\.g[^.a-z0-9_]': r'e.g.',
+ r'(?i)errr+or': r'error',
+ r'(?i)errorr+': r'error',
r'(?i)ful+screen': 'fullscreen',
r'(?i)futher': 'further',
r'(?i)gene?ra?tor': 'generator',
r'(?i)(?:(in|)n*)ac+ur+ate': r'\1accurate',
+ r'(?i)infomation': r'information',
r'(?i)in?ter[ai]ble': 'iterable',
r'(?i)int(er|re)p(er|re)tation': 'interpretation',
r'(?i)langauge': 'language',
@@ -20,6 +24,7 @@
r'(?i)\boc+ur+(?!ed|ing|ence)': 'occur',
r'(?i)oc+ur+(ed|ing|ence)': r'occurr\1',
r'(?i)oc+ur+ance': 'occurrence',
+ r'(?i)orginal': 'original',
r'(?i)parrent': 'parent',
r'(?i)pol+yfil+': 'polyfill',
r'(?i)propogate': 'propagate',
diff --git a/externs/shaka/net.js b/externs/shaka/net.js
index 1ca903ae65..c45098a652 100644
--- a/externs/shaka/net.js
+++ b/externs/shaka/net.js
@@ -226,7 +226,7 @@ shaka.extern.RequestContext;
* it before it is sent to the scheme plugin.
* The RequestType describes the basic type of the request (manifest, segment,
* etc). The optional RequestContext will be provided where applicable to
- * provide additional infomation about the request. A request filter can run
+ * provide additional information about the request. A request filter can run
* asynchronously by returning a promise; in this case, the request will not be
* sent until the promise is resolved.
*
@@ -244,7 +244,7 @@ shaka.extern.RequestFilter;
* it before it is returned.
* The RequestType describes the basic type of the request (manifest, segment,
* etc). The optional RequestContext will be provided where applicable to
- * provide additional infomation about the request. A response filter can run
+ * provide additional information about the request. A response filter can run
* asynchronously by returning a promise.
*
* @typedef {!function(shaka.net.NetworkingEngine.RequestType,
diff --git a/externs/shaka/player.js b/externs/shaka/player.js
index 5bed82da58..aaff46e167 100644
--- a/externs/shaka/player.js
+++ b/externs/shaka/player.js
@@ -573,7 +573,7 @@ shaka.extern.TimelineRegionInfo;
* @property {?number} channelsCount
* The number of audio channels, or null if unknown.
* @property {?string} pixelAspectRatio
- * The pixel aspect ratio value; e.g "1:1".
+ * The pixel aspect ratio value; e.g. "1:1".
* @property {?number} width
* The video width in pixels.
* @exportDoc
@@ -1050,7 +1050,7 @@ shaka.extern.MssManifestConfiguration;
* @property {shaka.extern.MssManifestConfiguration} mss
* Advanced parameters used by the MSS manifest parser.
* @property {boolean} raiseFatalErrorOnManifestUpdateRequestFailure
- * If true, manifest update request failures will cause a fatal errror.
+ * If true, manifest update request failures will cause a fatal error.
* Defaults to false
if not provided.
*
* @exportDoc
diff --git a/externs/shaka/transmuxer.js b/externs/shaka/transmuxer.js
index 491455d71b..fca06fe21e 100644
--- a/externs/shaka/transmuxer.js
+++ b/externs/shaka/transmuxer.js
@@ -37,7 +37,7 @@ shaka.extern.Transmuxer = class {
* Returns the original mimetype of the transmuxer.
* @return {string}
*/
- getOrginalMimeType() {}
+ getOriginalMimeType() {}
/**
* Transmux a input data to MP4.
diff --git a/lib/media/media_source_engine.js b/lib/media/media_source_engine.js
index c561a809e4..892078f0a9 100644
--- a/lib/media/media_source_engine.js
+++ b/lib/media/media_source_engine.js
@@ -763,7 +763,7 @@ shaka.media.MediaSourceEngine = class {
let mimeType = this.sourceBufferTypes_[contentType];
if (this.transmuxers_[contentType]) {
- mimeType = this.transmuxers_[contentType].getOrginalMimeType();
+ mimeType = this.transmuxers_[contentType].getOriginalMimeType();
}
if (reference) {
const timestamp = this.getTimestampAndDispatchMetadata_(
diff --git a/lib/media/quality_observer.js b/lib/media/quality_observer.js
index 7672d0388e..f60bb6fecd 100644
--- a/lib/media/quality_observer.js
+++ b/lib/media/quality_observer.js
@@ -261,7 +261,7 @@ shaka.media.QualityObserver.QualityChangePosition;
*
* @description
* Contains media quality information for a specific content type
- * e.g video or audio.
+ * e.g. video or audio.
*
* @property {!Array.}
* qualityChangePositions
diff --git a/lib/transmuxer/aac_transmuxer.js b/lib/transmuxer/aac_transmuxer.js
index 73f60a4e2c..feb0183ebe 100644
--- a/lib/transmuxer/aac_transmuxer.js
+++ b/lib/transmuxer/aac_transmuxer.js
@@ -95,7 +95,7 @@ shaka.transmuxer.AacTransmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/lib/transmuxer/ac3_transmuxer.js b/lib/transmuxer/ac3_transmuxer.js
index e5c6ea9ce9..061433ae36 100644
--- a/lib/transmuxer/ac3_transmuxer.js
+++ b/lib/transmuxer/ac3_transmuxer.js
@@ -93,7 +93,7 @@ shaka.transmuxer.Ac3Transmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/lib/transmuxer/ec3_transmuxer.js b/lib/transmuxer/ec3_transmuxer.js
index ea3b68e336..42c1402c81 100644
--- a/lib/transmuxer/ec3_transmuxer.js
+++ b/lib/transmuxer/ec3_transmuxer.js
@@ -93,7 +93,7 @@ shaka.transmuxer.Ec3Transmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/lib/transmuxer/mp3_transmuxer.js b/lib/transmuxer/mp3_transmuxer.js
index 0b33465ff8..a21ca22960 100644
--- a/lib/transmuxer/mp3_transmuxer.js
+++ b/lib/transmuxer/mp3_transmuxer.js
@@ -93,7 +93,7 @@ shaka.transmuxer.Mp3Transmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/lib/transmuxer/mpeg_ts_transmuxer.js b/lib/transmuxer/mpeg_ts_transmuxer.js
index bd90b05b6b..62d0dbeb74 100644
--- a/lib/transmuxer/mpeg_ts_transmuxer.js
+++ b/lib/transmuxer/mpeg_ts_transmuxer.js
@@ -119,7 +119,7 @@ shaka.transmuxer.MpegTsTransmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/lib/transmuxer/mss_transmuxer.js b/lib/transmuxer/mss_transmuxer.js
index af52baa060..be7e8e1ec9 100644
--- a/lib/transmuxer/mss_transmuxer.js
+++ b/lib/transmuxer/mss_transmuxer.js
@@ -208,7 +208,7 @@ shaka.transmuxer.MssTransmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/lib/transmuxer/muxjs_transmuxer.js b/lib/transmuxer/muxjs_transmuxer.js
index 16c4e04cdd..01e7744a42 100644
--- a/lib/transmuxer/muxjs_transmuxer.js
+++ b/lib/transmuxer/muxjs_transmuxer.js
@@ -173,7 +173,7 @@ shaka.transmuxer.MuxjsTransmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/lib/transmuxer/ts_transmuxer.js b/lib/transmuxer/ts_transmuxer.js
index 89709e9fd1..836378b51b 100644
--- a/lib/transmuxer/ts_transmuxer.js
+++ b/lib/transmuxer/ts_transmuxer.js
@@ -150,7 +150,7 @@ shaka.transmuxer.TsTransmuxer = class {
* @override
* @export
*/
- getOrginalMimeType() {
+ getOriginalMimeType() {
return this.originalMimeType_;
}
diff --git a/test/test/util/simple_fakes.js b/test/test/util/simple_fakes.js
index 94e5005d2e..93214ca710 100644
--- a/test/test/util/simple_fakes.js
+++ b/test/test/util/simple_fakes.js
@@ -529,7 +529,7 @@ shaka.test.FakeTransmuxer = class {
jasmine.createSpy('transmux').and.returnValue(Promise.resolve(output));
/** @type {!jasmine.Spy} */
- this.getOrginalMimeType =
- jasmine.createSpy('getOrginalMimeType').and.returnValue('mimeType');
+ this.getOriginalMimeType =
+ jasmine.createSpy('getOriginalMimeType').and.returnValue('mimeType');
}
};
diff --git a/third_party/closure-uri/uri.js b/third_party/closure-uri/uri.js
index 24dccee407..1bd34bb14f 100644
--- a/third_party/closure-uri/uri.js
+++ b/third_party/closure-uri/uri.js
@@ -8,7 +8,7 @@
*
* Use new goog.Uri(string) to parse a URI string.
*
- * e.g: var myUri = new goog.Uri(window.location);
+ * e.g.: var myUri = new goog.Uri(window.location);
*
* Implements RFC 3986 for parsing/formatting URIs.
* http://www.ietf.org/rfc/rfc3986.txt