See <html5videoview>
and <html5audioview>
Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
autobuffer
|
boolean | boolean | true | read/write |
A Boolean value that gives a hint to the browser that it should automatically buffer media when the webpage is loaded. If true (the default), the media data is automatically buffered; otherwise, it is not. Availability | ||||
autoplay
|
boolean | boolean | false | read/write |
A Boolean value that determines whether the media resource plays automatically when available. | ||||
buffered
|
expression | any | read/write | |
The time ranges of the media resource that have been downloaded. (read-only) readonly | ||||
controls
|
boolean | boolean | true | read/write |
A Boolean value that determines whether the playback controls appear. | ||||
currentTime
|
number | Number | 0 | read/write |
The current playback position in seconds. | ||||
defaultPlaybackRate
|
number | Number | 1.0 | read/write |
The default rate used to play the media resource. The value of this property is a multiple of the media resource’s intrinsic speed. The default value is 1.0. | ||||
duration
|
number | Number | 0 | read/write |
The length of the media resource in seconds. (read-only) This property is 0 if there is no media data available. This property is NaN if the duration is unknown. The value is positive infinity if the duration is known but is indefinite—for example, a live stream. | ||||
end
|
number | Number | read/write | |
Specifies the time at which an audio or video element will stop playing. If this attribute is not specified, the media element will play to completion. | ||||
ended
|
boolean | boolean | read/write | |
A Boolean value that indicates whether the media played to the end. (read-only) If true, the video played to the end; otherwise, it did not. | ||||
error
|
expression | any | read/write | |
The last error that occurred for this element. (read-only) | ||||
loop
|
boolean | boolean | read/write | |
A Boolean value that determines whether the playback should loop. | ||||
__media
|
expression | any | null | read/write |
the HTML5 native media playback object @keywords private | ||||
muted
|
boolean | boolean | read/write | |
A Boolean value that determines whether the audio content should be muted. | ||||
networkState
|
expression | any | read/write | |
The state of downloading the media resource. (read-only) | ||||
paused
|
expression | any | read/write | |
A Boolean value that indicates whether the media is paused. (read-only) | ||||
playbackRate
|
number | Number | 1.0 | read/write |
The speed that the media resource is playing. The value of this property is a multiple of the media resource’s intrinsic speed. If set to 0.0, a NOT_SUPPORTED_ERR DOM exception is raised. The default value is 1.0. | ||||
played
|
expression | any | read/write | |
The ranges of the media resource that was played. (read-only) | ||||
ready
|
boolean | boolean | false | read/write |
Sent when the media element is ready to accept commands; On iOS, you need to wait for this event before setting the media sources and other attributes, due to a delay in rendering the element in the browser | ||||
readyState
|
expression | any | read/write | |
The ready state of the media resource. (read-only) | ||||
src
|
string | String | read/write | |
The URI address of the media resource to play. | ||||
startTime
|
expression | any | read/write | |
The earliest possible time in seconds to start playback. (read-only) | ||||
volume
|
number | Number | read/write | |
The volume of the audio portion of the media element. The value of this property must be in the range from 0.0 (silent) to 1.0 (loudest); otherwise, a INDEX_SIZE_ERR DOM exception is raised. The default value is 1.0. |
aaactive, aadescription, aaname, aasilent, aatabindex, align, backgroundrepeat, bgcolor, cachebitmap, capabilities, clickable, clickregion, clip, colortransform, context, contextmenu, cornerradius, cursor, fgcolor, focusable, focustrap, font, fontsize, fontstyle, frame, framesloadratio, hasdirectionallayout, hassetheight, hassetwidth, height, layout, loadratio, mask, opacity, pixellock, playing, proxyurl, resource, resourceheight, resourcewidth, rotation, shadowangle, shadowblurradius, shadowcolor, shadowdistance, showhandcursor, source, stretches, subviews, tintcolor, totalframes, unstretchedheight, unstretchedwidth, usegetbounds, valign, visibility, visible, width, x, xoffset, xscale, y, yoffset, yscale
classroot, cloneManager, data, datapath, defaultplacement, id, ignoreplacement, immediateparent, inited, initstage, name, nodeLevel, options, parent, placement, styleclass, subnodes, transition
Methods
addSource() |
---|
canPlayType() |
---|
construct() |
---|
getCurrentSrc() |
---|
load() |
---|
pause() |
---|
play() |
---|
_readyDelay() |
---|
removeSources() |
---|
seekable() |
---|
seeking() |
---|
bringToFront, containsPt, getAttributeRelative, getBounds, getColor, getColorTransform, getCurrentTime, getDepthList, getDisplayObject, getID3, getMouse, getNextSelection, getPan, getPrevSelection, getProxyURL, getTotalTime, getVolume, init, isBehind, isInFrontOf, isMouseOver, measureHeight, measureWidth, play, proxyurl, searchSubviews, seek, sendAAEvent, sendBehind, sendInFrontOf, sendToBack, setAccessible, setAttributeRelative, setColor, setColorTransform, setPan, setProxyPolicy, setSource, setVolume, shouldYieldFocus, stop, unload, updateResourceSize
animate, applyConstraintMethod, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getOption, getUID, init, lookupSourceLocator, releaseConstraint, releaseConstraintMethod, searchImmediateSubnodes, searchSubnodes, setOption, setSelected, updateData
Events
onaddsubview, onbackgroundrepeat, onblur, onclick, onclickable, onclip, oncontext, oncornerradius, ondblclick, onerror, onfocus, onframe, onframesloadratio, ongesture, onheight, onkeydown, onkeyup, onlastframe, onload, onloadratio, onmousedown, onmousedragin, onmousedragout, onmouseout, onmouseover, onmousetrackout, onmousetrackover, onmousetrackup, onmouseup, onmouseupoutside, onopacity, onplay, onplaying, onremovesubview, onshadowangle, onshadowblurradius, onshadowcolor, onshadowdistance, onstop, ontimeout, ontouch, onvisible, onwidth, onx, ony
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.