|
|
Ohana-Revuelta |
IRT |
MIT-Experts
|
|
RTVE
|
common
|
js
files
|
hbbtvlib.js
|
hbbtvlib.js
- hbbtvlib_initialize
- int_createOipfObjs()
- appMgr = int_objs[int_objTypes.appMan];
- int_app = appMgr.getOwnerApplication(document);
- hbbtvlib_show
- int_app.show()
- int_app.activate()
- int_app.activateInput()
- hbbtvlib_hide
- hbbtvlib_setKeysets
- hbbtvlib_createApp
- int_app.createApplication(...)
- hbbtvlib_closeApp
- hbbtvlib_init_broadcast
- int_bc_video.bindToCurrentChannel()
- int_vb_onError
- hbbtvlib_release_broadcast
- hbbtvlib_current_service
- hbbtvlib_tuneTo
- int_createOipfObjs
- int_initKeysetObj
- int_ksHidden = int_keyset.RED;
- int_ksVisible = 0x33F; // color + nav + vcr +
numeric + alpha
|
base.js
- initVideo
- initApp
- app =
document.getElementById('appmgr').getOwnerApplication(document);
- app.show()
- app.activate()
- setKeyset(0x1+0x2+0x4+0x8+0x10)
- setKeyset(mask)
- appmgr.privateData.keyset.setValue(mask);
- appmgr.privateData.keyset.value = mask;
- registerKeyEventListener
- menuInit
- menuSelect
- showStatus
- setInstr
|
hbbtvlib.js
(IRT)
|
hbbtv.js / hbbtv_prueba.js
- window.hbbtv_init
- window.hbbtv_show
- int_app.show()
- int_app.activate();
- int_app.activateInput();
- int_keyset.setValue(int_ksVisible);
- window.hbbtv_hide
- int_app.hide();
- int_keyset.setValue(int_ksHidden);
- window.int_createOipfObjs
- window.int_KeysetObj
- int_ksHidden = int_keyset.RED;
- int_ksVisible = 0x33F; // color + nav + vcr +
numeric + alpha
|
keycodes.js
|
keycodes.js
|
keycodes.js
|
constants.js |
|
application
specific
|
js
|
base.js |
main.js
- window.onload = function ...
- startFromAIT(url)
- eventHandler
- start
- html_entity_encode
|
settings.js
|
main.js
- initApp()
- hbbtvlib_initialize
- initMenu
- videoContainer.innerHTML = "<object id='video'
type='video/mpeg'></object>";
- vPlayer = document.getElementById("video");
- playVideo(id)
- doPlayStateChange
- initMenu()
- handleKeyCode()
- ...
- finalApp()
|
|
css
|
|
global.css
|
|
|
|
index.html
|
doctype
|
|
|
- <!DOCTYPE html PUBLIC "-//HbbTV//1.1.1//EN"
"http://www.hbbtv.org/dtd/HbbTV-1.1.1.dtd">
- <!DOCTYPE html PUBLIC "-//HbbTV//1.2.1//EN"
"http://www.hbbtv.org/dtd/HbbTV-1.2.1.dtd">
|
<?xml version="1.0"
encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//HbbTV//1.1.1//EN"
"http://www.hbbtv.org/dtd/HbbTV-1.1.1.dtd"> |
html
|
|
|
|
<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
head
|
<meta
http-equiv="content-type"
content="application/vnd.hbbtv.xhtml+xml;charset=UTF-8"/> |
|
tests.php
- <script
type="text/javascript"
src="/hbbtv/common/js/hbbtvlib.js"></script>
- <script
type="text/javascript" src="main.js"></script>
|
base.php
- sendContentType()
- header('Content-Type: application/vnd.hbbtv.xhtml+xml; charset=UTF-8');
- videoObject(...)
- return '<object id="video" type="video/broadcast"
...></object>';
- appmgrObject()
- return
'<object id="appmgr" type="application/oipfApplicationManager"
...></object>
<object id="oipfcfg" type="application/oipfConfiguration"
...></object>';
- openDocument()
- echo "<script
type=\"text/javascript\" src=\"$ROOTDIR/settings.js\"></script>\n";
- echo "<script
type=\"text/javascript\" src=\"$ROOTDIR/keycodes.js\"></script>\n";
- echo "<script
type=\"text/javascript\" src=\"$ROOTDIR/base.js\"></script>\n";
index.php
- window.onload
- menuInit()
- initVideo()
- registerKeyEventListener()
- setDescr()
- initApp()
- ...
- closeApp()
|
index.php
- <meta http-equiv="content-type"
content="application/ce-html+xml; charset=uft-8"/>
...
<link rel="stylesheet" type="text/css" href="css/layout.css" />
<script type="text/javascript" src="js/hbbtvlib.js"></script>
<script type="text/javascript" src="js/constants.js"></script>
<script type="text/javascript" src="js/main.js"></script>
|
index.html
|
|
- <script type="text/javascript"
src="/hbbtv/common/js/hbbtvlib.js"></script>
- <script type="text/javascript"
src="main.js"></script>
|
|
<script
type="text/javascript">
...
</script> |
<script
type="text/javascript">
function init() {
try {
hbbtv_init();
hbbtv_show();
...
}
</script> |
|
<link
rel="stylesheet" type="text/css" href="hbbtv.css"/> |
|
|
|
|
body
|
tests/index.php
- <body onload="hbbtvlib_initialize(); hbbtvlib_show();
document.getElementsByTagName('a')[0].focus();">
- <div id="safe_area">
</div>
|
base.php
index.php
- echo videoObject();
echo appmgrObject();
|
index.php
- <body onload="initApp()" onunload="finalApp();">
|
|
-
<div style="visibility: hidden; height: 0; width: 0; position: absolute;"> <object type="application/oipfApplicationManager" id="oipfAppMan"></object> <object type="application/oipfConfiguration" id="oipfConfig"></object> </div>
-
<div style="visibility: hidden; display: none;"> <object type="application/oipfApplicationManager" id="oipfAppMan"></object> <object type="application/oipfConfiguration" id="oipfConfig"></object> </div>
|