-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.ncl
88 lines (68 loc) · 2.3 KB
/
main.ncl
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
LuaRSS Reader para TV Digital
@author Manoel Campos da Silva Filho
Professor do Instituto Federal de Educação, Ciência e Tecnologia do Tocantins
http://manoelcampos.com
@license Atribuição-Uso não-comercial-Compartilhamento pela mesma licença http://creativecommons.org/licenses/by-nc-sa/2.5/br/
-->
<!-- Generated by NCL Eclipse -->
<ncl id="main" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile">
<head>
<regionBase>
<region id="rgVideo" width="100%" height="100%" zIndex="0">
</region>
<region id="rgLua" width="100%" height="30%" top="70%" left="0" zIndex="1">
</region>
</regionBase>
<descriptorBase>
<descriptor id="dLua" region="rgLua" focusIndex="luaIdx">
</descriptor>
<descriptor id="dVideo" region="rgVideo">
</descriptor>
</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"/>
<port id="pVideo" component="video1"/>
<media type="application/x-ginga-settings" id="programSettings">
<property name="service.currentKeyMaster" value="luaIdx"/>
</media>
<media id="video1" src="media/Wanna_Work_Together_-_Creative_Commons.avi" descriptor="dVideo">
</media>
<media id="lua" descriptor="dLua" src="main.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>