Movie
From Emitrom
Movie provides a mechanism for viewing and controlling videos in a Canvas. Due to discrepancies in the adoption of the Canvas specification by different vendors, you should provide multiple formats of the video to ensure portability.
Unfortunately at the time of this writing (release 1.0.0), the Movie class doesn't still support multiple formats in spite of the statement depicted above.
Serialization
The Movie class can be serialized by itself or as a member of a container. The following fields will be serialized and part of the JSON string:
- URL.
- Loop.
- Video Width.
- Video Height.
- Last set Volume level