User Tools

Site Tools


media

Media

The Media is a wrapper for media elements including the ImageElement, VideoElement, and the MP3Element.

A media element displays a classic film.
Media screenshot

Characteristic

Definition
Type Display Object
Category Element
Scope Local
Position *
Parents Container
Children none
Gestures none
Requirements none

Attribute

Type

Description
autoplay true/false indicates whether the file plays upon load
loop true/false indicates whether the media will re-play when it reaches the end
resample true/false specifies whether a loaded image is resampled to the provided width and/or height
src text sets the media file source

See Also: Display Attributes

<Media id="image" x="500" y="175" src="images/plane.jpg" scale=".46" />
media.txt · Last modified: 2015/09/18 15:32 by glass