mirror of
				https://github.com/videojs/video.js.git
				synced 2025-10-31 00:08:01 +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:
		| @@ -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; | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user