Video - Espial.VideoPlane DOM Object
Go Back...
The Espial.VideoPlane DOM object provides methods for interacting with
the video plane. The table below illustrates the methods available.
Methods | |
SetViewBounds(planeIndex, x, y, width, height) | Sets video plane bounds. |
SetViewLocation(planeIndex, x, y) | Sets video plane location. |
SetViewSize(planeIndex, width, height) | Sets video plane size. |
SetViewFullScreen(planeIndex) | Sets bounds to full screen. |
GetViewX(planeIndex) | Returns video plane x location. |
GetViewY(planeIndex) | Returns video plane y location. |
GetViewWidth(planeIndex) | Returns video plane width. |
GetViewHeight(planeIndex) | Returns video plane height. |
SetVisible(planeIndex, show) | Sets video plane visibility. |
IsVisible(planeIndex) | Returns video plane visibility. |
SetActive(planeIndex) | Sets the active video plane. |
IsActive(planeIndex) | Returns if the video plane is active. |
Example usage of the API is shown below:
<script>
Espial.VOD.RegisterCallback("mycallback");
Espial.VideoPlane.SetViewBounds(0,0,0,600,480);
Espial.VidePlane.SetVisible(0,true); Espial.VideoPlane.SetActive(0);
</script>
Top of the page
Go Back...
Return to Start