mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 06:00:41 +00:00
Merge pull request #6941 from drakang4/master
Fix stream parameter type of video.loadMediaStream
This commit is contained in:
commit
4018be0bd3
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ var Video = new Class({
|
||||||
* @method Phaser.GameObjects.Video#loadMediaStream
|
* @method Phaser.GameObjects.Video#loadMediaStream
|
||||||
* @since 3.50.0
|
* @since 3.50.0
|
||||||
*
|
*
|
||||||
* @param {string} stream - The MediaStream object.
|
* @param {MediaStream} stream - The MediaStream object.
|
||||||
* @param {boolean} [noAudio=false] - Does the video have an audio track? If not you can enable auto-playing on it.
|
* @param {boolean} [noAudio=false] - Does the video have an audio track? If not you can enable auto-playing on it.
|
||||||
* @param {string} [crossOrigin] - The value to use for the `crossOrigin` property in the video load request. Either undefined, `anonymous` or `use-credentials`. If no value is given, `crossorigin` will not be set in the request.
|
* @param {string} [crossOrigin] - The value to use for the `crossOrigin` property in the video load request. Either undefined, `anonymous` or `use-credentials`. If no value is given, `crossorigin` will not be set in the request.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue