Video#createVideoFromURL()

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)
doc_phaser
2017-02-14 11:19:23
Comments
Leave a Comment

Please login to continue.