1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

docs: Fix simple typo, intial -> initial (#6851)

There is a small typo in src/js/player.js, src/js/tech/html5.js, test/unit/sourceset.test.js.

Should read `initial` rather than `intial`.
This commit is contained in:
Tim Gates 2020-09-23 04:38:19 +10:00 committed by GitHub
parent cb70ea84a1
commit f22ead10f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1575,7 +1575,7 @@ class Player extends Component {
}
}
// update the source to the intial source right away
// update the source to the initial source right away
// in some cases this will be empty string
updateSourceCaches(eventSrc);
@ -3335,7 +3335,7 @@ class Player extends Component {
return;
}
// intial sources
// initial sources
this.changingSrc_ = true;
this.cache_.sources = sources;

View File

@ -1475,7 +1475,7 @@ Html5.resetMediaElement = function(el) {
/**
* Set the value of `defaultMuted` on the media element. `defaultMuted` indicates that the current
* audio level should be silent, but will only effect the muted level on intial playback..
* audio level should be silent, but will only effect the muted level on initial playback..
*
* @method Html5.prototype.setDefaultMuted
* @param {boolean} defaultMuted

View File

@ -746,7 +746,7 @@ QUnit[qunitFn]('sourceset', function(hooks) {
this.mediaEl = this.player.tech_.el();
});
// intial sourceset should happen on player.ready
// initial sourceset should happen on player.ready
this.player.one('sourceset', (e) => {
validateSource(this.player, [testSrc], e);
done();