Olá,
Fiz uma aplicação no Composer 2.0 NCL3.0 e executei normalmente pelo Composer. Mas quando tento rodar pelo GingaNclPlayer, não funciona. Ou seja, quando carrego o arquivo .ncl, o botão de play do GingaNclPlayer não fica habilitado. Ainda, quando tento rodar um exemplo daqueles que estão disponíveis no site, funciona normal.
Alguem tem alguma idéia do que esta acontecendo?
Grato
Autor: Emerson Siecola
1010 comentários
Detecting JMF...[OK]
Detecting QT...[OK]
[error] Thread-11: [Fatal Error] :7:3: The element type "br" must be terminated by the matching end-tag "</br>".
[error] Thread-10: [Fatal Error] :6:33: The element type "input" must be terminated by the matching end-tag "</input>".
[error] Thread-19: [Fatal Error] :7:3: The element type "br" must be terminated by the matching end-tag "</br>".
[error] Thread-18: [Fatal Error] :6:33: The element type "input" must be terminated by the matching end-tag "</input>". Acredito que os erros relatados em console são devido eu estar usando um formulário HTML na aplicação. até mais
Nas tags que forem " <input ... >" coloque "<input ... />" Se isso resolver, por favor nos informe, ok? Um abraço, Rafael
Detecting JMF...[OK]
Detecting QT...[OK]
[error] Thread-11: [Fatal Error] :3:11: The entity "nbsp" was referenced, but not declared.
[error] Thread-10: [Fatal Error] :12:10: The entity "nbsp" was referenced, but not declared. Uma outra dúvida, nos exemplos que estão disponíveis no site, as linhas acima dos cabeçalhos estão diferente das linhas das novas aplicações que faço do composer 2.0. Isso pode ser um problema? Nos exemplos do site são: <?xml version="1.0" encoding="ISO-8859-1"?> <ncl id="exemplo07" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile"> Já nas novas aplicações feitas: <?xml version="1.0" encoding="ISO-8859-1"?>
<ncl xsi:schemaLocation="http://www.ncl.org.br/NCL3.0/EDTVProfile www.ncl.org.br/NCL3.0/profiles/NCL30EDTV.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile" id="newDocument1"> Fico aguardando. Abraço
"http://www.w3.org/TR/html4/strict.dtd"> Se não resolver, adicione a entidade <!ENTITY nbsp "&#x00A0;"> dentro da definição de um dtd do arquivo html em questão. Quanto a dúvida sobre o cabeçalho dos arquivos NCL, não se aborreça em relação a isso, o cabeçalho aponta para os arquivos de definição da linguagem NCL e, nesse caso, o problema parece estar no html. Amanhã tem um chat do composer. Qq dúvida dá uma passada no chat. um abraço, Romualdo.
<ncl xsi:schemaLocation="http://www.ncl.org.br/NCL3.0/EDTVProfile www.ncl.org.br/NCL3.0/profiles/NCL30EDTV.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile" id="newDocument1">
<head>
<connectorBase>
<importBase documentURI="C:/Arquivos de programas/Composer/files/connectors/composerConnectorBase.conn" alias="connBase"/>
<causalConnector id="composerOnSelectionStart">
<connectorParam value="xs:string" name="keyCode"/>
<simpleCondition key="$keyCode" role="onSelection"/>
<simpleAction role="start"/>
</causalConnector>
<causalConnector id="composerOnSelectionStop">
<connectorParam value="xs:string" name="keyCode"/>
<simpleCondition key="$keyCode" role="onSelection"/>
<simpleAction role="stop"/>
</causalConnector>
</connectorBase>
<regionBase>
<region title="Fundo" left="50" top="50" width="800" height="600" id="TV">
<region left="9" top="10" width="780" height="580" id="Programa">
<region left="748" top="10" width="20" height="20" id="OnInteratividade"/>
<region left="748" top="35" width="20" height="20" id="OffInteratividade"/>
</region>
<region left="10" top="10" width="290" height="380" id="Form"/>
<region left="10" top="400" width="780" height="190" id="Info"/>
</region>
</regionBase>
<descriptorBase>
<descriptor region="TV" id="dfundo"/>
<descriptor region="TV" id="dBackground"/>
<descriptor region="Programa" id="dPrograma"/>
<descriptor region="OnInteratividade" id="dBAzul"/>
<descriptor region="OffInteratividade" id="dBVermelho"/>
<descriptor region="Form" id="dForm"/>
<descriptor region="Info" id="dInfo"/>
</descriptorBase>
</head>
<body>
<media descriptor="dPrograma" src="/dotlrn/clubs/Arquivos/Medias/video1.mpg" type="video/mpeg" id="Programa">
<property name="bounds"/>
</media>
<media descriptor="dBAzul" src="/dotlrn/clubs/Arquivos/Imagens/Botão_Azul.jpg" type="image/jpeg" id="On"/>
<media descriptor="dBVermelho" src="/dotlrn/clubs/Arquivos/Imagens/Botão_Vermelho.jpg" type="image/jpeg" id="Off"/>
<link xconnector="connBase#onBeginStartN" id="MostraBotões">
<bind role="onBegin" component="Programa"/>
<bind role="start" component="On"/>
<bind role="start" component="Off"/>
</link>
<media descriptor="dForm" src="/dotlrn/clubs/Arquivos/Medias/Form.html" type="text/html" id="Formulário"/>
<media descriptor="dInfo" src="/dotlrn/clubs/Arquivos/Medias/Ola.html" type="text/html" id="Informações"/>
<link xconnector="composerOnSelectionStart" id="link_from_On_to_Formulário_6004">
<bind role="onSelection" component="On"/>
<bind role="start" component="Formulário"/>
<linkParam value="BLUE" name="keyCode"/>
</link>
<link xconnector="composerOnSelectionStart" id="link_from_On_to_Informações_633">
<bind role="onSelection" component="On"/>
<bind role="start" component="Informações"/>
<linkParam value="BLUE" name="keyCode"/>
</link>
<link xconnector="composerOnSelectionStop" id="link_from_Off_to_Formulário_3460">
<bind role="onSelection" component="Off"/>
<bind role="stop" component="Formulário"/>
<linkParam value="RED" name="keyCode"/>
</link>
<link xconnector="composerOnSelectionStop" id="link_from_Off_to_Informações_5559">
<bind role="onSelection" component="Off"/>
<bind role="stop" component="Informações"/>
<linkParam value="RED" name="keyCode"/>
</link>
<link xconnector="connBase#onBeginResize" id="link0">
<bind role="onBegin" component="Formulário"/>
<bind role="set" interface="bounds" component="Programa">
<bindParam name="bounds" value="310,10,480,380"/>
</bind>
</link>
<link xconnector="connBase#onEndResize" id="link1">
<bind role="onEnd" component="Formulário"/>
<bind role="set" interface="bounds" component="Programa">
<bindParam name="bounds" value="10,10,780,580"/>
</bind>
</link>
<port component="Programa" id="port_newDocument1_Programa"/>
</body>
</ncl>
"connBase#onBeginResize"? Um abraço, Rafael