MAF.system.FullscreenView
This is a windowed view thats will fill the complete viewport.
new MAF.system.FullscreenView()
Methods
createView() virtualinherited
View creation method that must be implemented (or overridden) by objects that inherit the member.
destroyView() virtualinherited
View destruction method that can be implemented (or overridden) by objects that inherit the member.
focusView() virtualinherited
View focus method that can be implemented (or overridden) by objects that inherit the member.
freeze() → {Class} inherited
Freezes this component. Screen renders no longer trigger until thawed.
Returns:
This component.
getAbsolutePosition() → {Object} inherited
Give back the position relative to its first positioned ancestor element
Returns:
{hOffset:Number, vOffset: Number}
getTVViewportSize() → {Object}
Get the size and position of the media plane.
Returns:
x, y, width and height of the media plane rectangle.
getView() → {Class} inherited
Returns:
Returns the view this class is appended on.
hide() → {Class} inherited
Hides this component.
Returns:
This component.
hideView() virtualinherited
View hide method that can be implemented (or overridden) by objects that inherit the member.
initialize() inherited
Initialize the class
initView() virtualinherited
View initialization method that can be implemented (or overridden) by objects that inherit the member.
registerMessageCenterListenerCallback() inherited
Register a function for callback on MAF.messages.
Example
The below example will add 2 streams to the media entry both having a bitrate of 1000
new MAF.media.PlaylistEntry({ bitrate: 1000, streams: [ { url: 'http://my.url/video1.mp4' }, { url: 'http://my.url/video2.mp4' } ] });registerMessageCenterListenerControl() inherited
Register a component for callback on MAF.messages.
Example
The below example will add 2 streams to the media entry both having a bitrate of 1000
new MAF.media.PlaylistEntry({ bitrate: 1000, streams: [ { url: 'http://my.url/video1.mp4' }, { url: 'http://my.url/video2.mp4' } ] });selectView() virtualinherited
View has gained focus method that can be implemented (or overridden) by objects that inherit the member.
setTVViewportSize(x, y, width, height)
Change the position and size of the media plane rectangle.
Parameters:
Name Type Description x Number Position on viewport where to start horizontally
y Number Position on viewport where to start vertically
width Number Size of the media plane
height Number Size of the media plane
show() → {Class} inherited
Shows this component.
Returns:
This component.
thaw() → {Class} inherited
Thawes this component. Screen renders can trigger again.
Returns:
This component.
unselectView() virtualinherited
View has lost focus method that can be implemented (or overridden) by objects that inherit the member.
updateView() virtualinherited
View update method that can be implemented (or overridden) by objects that inherit the member.
WindowedView() inherited
Reset the focus on this view by navigating to the first component found from the top.
Events
onAnimationEnded
Fired when a animation on this component has ended.
onAppend
Fired when component has appended to a parent. Update visual appearances by applying a Theme style and rendering the skin.