ChannelGalio

出自OpenISEE

跳轉到: 導航, 搜尋

Channel VE Content Sample for Galio

VE Tag
<isee:channel name="channel" skin="channel" channelsDataVar="chDataPool"
   eventHandler="eventHandler" fsEventHandler="eventHandler" defaultChannelNumber="3"/>

This VE tag appears in /demo/channel.jsp of ISEE Demo project

Style
.ve2{
  background-color:#000000;
  width:320px;
  height:240px;
  position:absolute;
  left:300px;
  top:90px;
  border: 10px outset #d3d3d3;
}
Structure
<div id='z2' class='ve2'>
</div>
Javascript
<script type='text/javascript'>
  var z2CtrlData={
    channelsData:chDataPool,
    defaultChannelNumber:3,
    channelNumberLength:3,
    passwordEnable:true,
    position: new iscl.VideoPosition(310,100,320,240),
    switchScreen: true,
    autoPlay:true,
    eventHandler:eventHandler,
    keyMap:{
      volDec:"volDecKey",
      oriChHelp:"kh.fr:kh.oriChDesc",
      chDec:"chDecKey",
      switchScreen:"redKey",
      chIncHelp:"kh.chInc",
      volInc:"volIncKey",
      switchScreenHelp:"kh.red_hc100:kh.switchScreenDesc",
      chDecHelp:"kh.chDec",
      oriCh:"frKey",
      chInc:"chIncKey",
      mute:"muteKey"
    },
    fsvbName:'videoFs',
    fsEventHandler:'eventHandler',
    fsKeyMap:{
      volDec:"volDecKey",
      oriChHelp:"kh.fr:kh.oriChDesc",
      chInc1Help:"kh.chInc1",
      chDec:"chDecKey",
      chDec1:"upKey",
      chInc1:"downKey",
      chDec1Help:"kh.chDec1",
      chInc:"chIncKey",
      switchScreen:"redKey",
      volInc:"volIncKey",
      chIncHelp:"kh.chInc",
      switchScreenHelp:"kh.red_hc100:kh.switchScreenDesc",
      chDecHelp:"kh.chDec",
      oriCh:"frKey"
      ,mute:"muteKey"
    },
    mode:1
  };
  var channel=new iscl.ChannelCtrl(window,'z2',z2CtrlData);
</script>
個人工具
開發者首頁