createVideoFromURL(url, autoplay) → {Phaser.Video}
Creates a new Video element from the given URL.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
url | string | The URL of the video. | ||
autoplay | boolean | <optional> | false | Automatically start the video? |
Returns
This Video object for method chaining.
- Source code: gameobjects/Video.js (Line 530)
Please login to continue.