-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample_twitter.ncl
More file actions
62 lines (51 loc) · 1.62 KB
/
example_twitter.ncl
File metadata and controls
62 lines (51 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="ISO-8859-1"?>
<ncl id="main" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile">
<head>
<regionBase>
<region id="rgLua" width="100%" height="30%" top="70%" left="0" zIndex="1" />
</regionBase>
<descriptorBase>
<descriptor id="dLua" region="rgLua" focusIndex="luaIdx" />
</descriptorBase>
<connectorBase>
<causalConnector id="onEndStart">
<simpleCondition role="onEnd"/>
<simpleAction role="start"/>
</causalConnector>
<causalConnector id="onKeySelectionStop">
<connectorParam name="key"/>
<simpleCondition role="onSelection" key="$key"/>
<simpleAction role="stop"/>
</causalConnector>
<causalConnector id="onBeginStop">
<simpleCondition role="onBegin"/>
<simpleAction role="stop"/>
</causalConnector>
</connectorBase>
</head>
<body>
<port id="pLua" component="lua"/>
<media type="application/x-ginga-settings" id="programSettings">
<property name="service.currentKeyMaster" value="luaIdx"/>
</media>
<media id="lua" descriptor="dLua" src="example_twitter.lua" >
<!--<area id="fechar"/> -->
</media>
<link xconnector="onEndStart">
<bind component="video1" role="onEnd" />
<bind component="video1" role="start" />
</link>
<!--
<link xconnector="onBeginStop">
<bind component="lua" role="onBegin" interface="fechar" />
<bind component="lua" role="stop" />
</link>
-->
<link xconnector="onKeySelectionStop">
<bind component="lua" role="onSelection">
<bindParam name="key" value="RED"/>
</bind>
<bind component="lua" role="stop" />
</link>
</body>
</ncl>