jf-roku/components/captionTask.xml

15 lines
696 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<component name="captionTask" extends="Task">
<interface>
<field id="url" type="string" />
<field id="currentCaption" type="roArray" />
<field id="playerState" type="string" value="stopped" />
<field id="currentPos" type="int" />
</interface>
<script type="text/brightscript" uri="captionTask.brs" />
<script type="text/brightscript" uri="pkg:/source/utils/config.brs" />
<script type="text/brightscript" uri="pkg:/source/api/baserequest.brs" />
<children>
<timer id="captionTimer" repeat="true" duration="0.1" />
</children>
</component>