Пример #1
0
function closeApp() {
  try {
    var app = document.getElementById('appmgr').getOwnerApplication(document);
    app.destroyApplication();
    return;
  } catch (e) {
    alert('Cannot destroy application');
  }
}
//]]>
</script>

</head><body>

<?php 
echo videoObject();
echo appmgrObject();
?>

<div style="left: 0px; top: 0px; width: 1280px; height: 720px; background-color: #132d48;" />
<div class="txtdiv txtlg" style="left: 111px; top: 60px; width: 500px; height: 30px;">MIT-xperts HBBTV testsuite</div>
<div class="txtdiv" style="left: 111px; top: 640px; width: 500px; height: 30px;">Testsuite release: <span id="relid"></span></div>
<div style="left: 690px; top: 56px; width: 590px; height: 130px; background-color: #ffffff;">
  <div class="txtdiv" style="left: 10px; top: 4px; width: 500px; height: 30px; color: #000000;">HBBTV testsuite project initiated/maintained by:</div>
  <div class="imgdiv" style="left: 10px; top: 34px; width: 356px; height: 44px; background-image: url(logo.png);"></div>
</div>
<div class="txtdiv" style="left: 700px; top: 200px; width: 450px; height: 500px;"><u>Instructions:</u><br />
Please select the desired test using the cursor keys, then press OK. After that, test-specific instructions will appear. More information is available under &quot;About / Imprint&quot;.<br />
In case you have questions and/or comments, you can reach us at info&#160;&#x0040;&#160;mit-xperts&#x002e;com<br /><br />
<u>Test description:</u><br />
<span id="descr">&#160;</span>
Пример #2
0
  } else if (name==="pfdescr") {
    getPresentDescr();
  } else if (name==="schedevent") {
    getSchedule();
  }
}

//]]>
</script>

</head><body>

<div style="left: 0px; top: 0px; width: 1280px; height: 720px; background-color: #132d48;" />

<?php 
echo videoObject(100, 480, 320, 180);
echo appmgrObject();
?>
<object id="srchmgr" type="application/oipfSearchManager" style="position: absolute; left: 0px; top: 0px; width: 0px; height: 0px;"></object>

<div class="txtdiv txtlg" style="left: 110px; top: 60px; width: 500px; height: 30px;">MIT-xperts HBBTV tests</div>
<div id="instr" class="txtdiv" style="left: 700px; top: 110px; width: 400px; height: 360px;"></div>
<ul id="menu" class="menu" style="left: 100px; top: 100px;">
  <li name="pfevent">Present/following event (HbbTV 1.1)</li>
  <li name="pfdescr">Present event descriptors (HbbTV 1.2)</li>
  <li name="schedevent">Scheduled events (HbbTV 1.2)</li>
  <li name="exit">Return to test menu</li>
</ul>
<div id="status" style="left: 700px; top: 480px; width: 400px; height: 200px;"></div>

</body>
Пример #3
0
      showStatus(true, 'Setting fullScreen(true) mode succeeded');
    } catch (e) {
      showStatus(false, 'Setting fullScreen(true) mode failed');
    }
  }
}

//]]>
</script>

</head><body style="background: transparent;">

<div style="left: 0px; top: 0px; width: 1280px; height: 550px; background-color: #132d48;" />

<?php 
echo videoObject(700, 300, 320, 180);
echo appmgrObject();
?>

<div class="txtdiv txtlg" style="left: 110px; top: 60px; width: 500px; height: 30px;">MIT-xperts HBBTV tests</div>
<div id="instr" class="txtdiv" style="left: 700px; top: 110px; width: 400px; height: 360px;"></div>
<ul id="menu" class="menu" style="left: 100px; top: 100px;">
  <li name="getvid">Test 1: get video AVComponents</li>
  <li name="getaud">Test 2: get audio AVComponents</li>
  <li name="getsub">Test 3: get subtitle AVComponents</li>
  <li name="selvideo0">Test 4: unselect video</li>
  <li name="selvideo1">Test 5: select video</li>
  <li name="selaudio0">Test 6: unselect audio</li>
  <li name="selaudio1">Test 7: select audio1</li>
  <li name="selaudio2">Test 8: select audio2</li>
  <li name="selsub1">Test 9: select subtitles</li>