User Tools

Site Tools


media

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

media [2015/09/18 15:32] (current)
glass created
Line 1: Line 1:
 +====== Media ======
  
 +The Media is a wrapper for media elements including the ImageElement,​ VideoElement,​ and the MP3Element.
 +
 +{| style="​float:​right;​margin:​0 0 20px 20px;"
 +|+ A media element displays a classic film.
 +|-
 +|{{:​oemedia.jpg?​nolink&​300|Media screenshot}}
 +|}
 +
 +{| class="​wikitable"​
 +!
 +Characteristic
 +!
 +Definition
 +|-
 +| Type || Display Object
 +|-
 +| Category || Element
 +|-
 +| Scope || Local
 +|-
 +| Position || *
 +|-
 +| Parents || Container
 +|-
 +| Children || none
 +|-
 +| Gestures || none
 +|-
 +| Requirements || none
 +|}
 +
 +{| class="​wikitable"​
 +!
 +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