jf-roku/components/captionTask.xml
Jinho Kim 2fc121fc50 Subtitle rendering using a task node
Crude subtitle renderer piggybacking on the JFVideo component
2023-01-26 19:03:09 -05:00

13 lines
537 B
XML

<?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" />
<children>
<timer id="captionTimer" repeat="true" duration="0.1" />
</children>
</component>