<videoview>
allows applications to play video from HTTP or RTMP servers.
<canvas
>
<videoview
url
="http://www.archive.org/download//JudgeMediaTestVideoFile_0/video.flv
" type
="http
" autoplay
="true
" width
="320
" height
="240
"/>
</canvas
>
Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
autoplay
|
expression | any | false | read/write |
If true, video will start playing as soon as url is set. | ||||
buffertime
|
expression | any | 0 | read/write |
If true, video will start playing as soon as url is set. | ||||
cam
|
expression | any | null | readonly |
The camera object. | ||||
debug
|
expression | any | false | read/write |
If true, Debug.write extra stuff (this may go away). | ||||
mic
|
expression | any | null | readonly |
The microphone object. | ||||
playvolume
|
expression | any | 1.0 | read/write |
The volume for video playback, a float from 0 to 1. | ||||
starttime
|
number | Number | 0 | read/write |
Show the frame from this time (in seconds) whenever the url is set for video playback. Use -1 to show no frame (which will leave the image as it was when switching videos) | ||||
stream
|
expression | any | false | read/write |
The mediastream object. A mediastream will be automatically generated if one is not specified at init time. | ||||
type
|
string | String | http | read/write |
Protocol "rtmp" or "http". | ||||
url
|
string | String | read/write | |
The url of the video, may be a relative URL, for example: "http://localhost/myvideo.flv", or simply "myvideo.flv". When type="rtmp", the url is always relative the rtmpconnection. (Use only when you are not explicitly declaring the mediastream.) |
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
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.