Class createjs.Video
Extends
.
Defined in: video.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.Video(video)
A class that encapsulates an HTMLVideoElement object.
|
Method Attributes | Method Name and Description |
---|---|
handleEvent(event)
|
|
paintObject(renderer)
|
|
play(time, loop)
Starts playing this video.
|
|
removeAllChildren(opt_destroy)
|
|
stop()
Stops playing this video.
|
Class Detail
createjs.Video(video)
A class that encapsulates an HTMLVideoElement object.
- Parameters:
- {HTMLVideoElement} video
Method Detail
handleDetach()
handleEvent(event)
- Parameters:
- event
paintObject(renderer)
- Parameters:
- renderer
play(time, loop)
Starts playing this video. This method does not only start playing the
- Parameters:
- {number} time
- {boolean} loop
removeAllChildren(opt_destroy)
- Parameters:
- opt_destroy
stop()
Stops playing this video.