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

docs: Fix a few typos #708

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/io/xhr-range-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class RangeLoader extends BaseLoader {
}
}

// calculate currrent request range's contentLength
// calculate current request range's contentLength
if (this._range.to === -1) {
this._contentLength = this._totalLength - this._range.from;
} else { // to !== -1
Expand Down
4 changes: 2 additions & 2 deletions src/remux/mp4-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class MP4 {
return MP4.box(MP4.types.hdlr, data);
}

// Media infomation box
// Media information box
static minf(meta) {
let xmhd = null;
if (meta.type === 'audio') {
Expand All @@ -295,7 +295,7 @@ class MP4 {
return MP4.box(MP4.types.minf, xmhd, MP4.dinf(), MP4.stbl(meta));
}

// Data infomation box
// Data information box
static dinf() {
let result = MP4.box(MP4.types.dinf,
MP4.box(MP4.types.dref, MP4.constants.DREF)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function detect() {
browser.webkit = true;
}

// MSIE. IE11 has 'rv' identifer
// MSIE. IE11 has 'rv' identifier
if (browser.rv || browser.iemobile) {
if (browser.rv) {
delete browser.rv;
Expand Down