<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script type="text/javascript">
class UILayout {
static SetScreenNumber(num) {
UILayout.ScreenNumber = num;
}
static GetScreenNumber() {
return UILayout.ScreenNumber;
}
static SetContainer(id) {
UILayout.Container = document.getElementById(id);
}
static GetContainer() {
return UILayout.Container;
}
static SetVideoWith(VideoWidth) {
UILayout.VideoWidth = VideoWidth;
}
static GetVideoWith() {
return UILayout.VideoWidth;
}
static SetVideoHeight(VideoHeight) {
UILayout.VideoHeight = VideoHeight;
}
static GetVideoHeight() {
return UILayout.VideoHeight;
}
static SetSelectVideoIndex(index) {
UILayout.SelectVideoIndex = index;
}
static GetSelectVideoIndex() {
return UILayout.SelectVideoIndex;
}
static Init(id, screenNums) {
UILayout.SetContainer(id);
UILayout.SetScreenNumber(screenNums);
UILayout.SetVideoWith(352);
UILayout.SetVideoHeight(288);
UILayout.SetSelectVideoIndex(-1);
UILayout.CreateCanvas();
UILayout.LayoutScreens(screenNums);
}
static CreateCanvas()