<html5fallbackvideoview>

JavaScript: lz.html5fallbackvideoview

<html5fallbackvideoview> allows applications to play video from HTTP servers.

<canvas>
            <html5videoview src="http://www.archive.org/download/SoundieF/SoundieF_512kb.mp4" autoplay="true" width="320" height="240"/>
            </canvas>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
poster string String   read/write
   

Methods

addSource()
html5fallbackvideoview.addSource(url, mimetype, codecs);
Parameter Name Type Description
url    
mimetype    
codecs    

enterFullscreen()
html5fallbackvideoview.enterFullscreen();
Enters fullscreen mode.

exitFullscreen()
html5fallbackvideoview.exitFullscreen();
Exits fullscreen mode.

getDisplayingFullscreen()
html5fallbackvideoview.getDisplayingFullscreen();
Is video element displaying fullscreen mode?

getSupportsFullscreen()
html5fallbackvideoview.getSupportsFullscreen();
Does video element support fullscreen mode?

getVideoHeight()
html5fallbackvideoview.getVideoHeight();
The native height of the video in CSS pixels. (read-only)

getVideoWidth()
html5fallbackvideoview.getVideoWidth();
The native width of the video in CSS pixels. (read-only)

init()
html5fallbackvideoview.init();

load()
html5fallbackvideoview.load();

makeNativePlayer()
html5fallbackvideoview.makeNativePlayer(args);
Parameter Name Type Description
args    

pause()
html5fallbackvideoview.pause();

play()
html5fallbackvideoview.play();
Begins playing the media resource.

removeSources()
html5fallbackvideoview.removeSources();
Parameter Name Type Description
   

Methods inherited from <html5fallbackmediaview>

load, pause, play

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Name Description
onbeginfullscreen Sent when the video begins displaying as fullscreen
onendfullscreen Sent when the video stops displaying as fullscreen

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy