Files
playlet-piped/playlet-lib/src/components/VideoPlayer/VideoPlayer.xml
T
Brahim Hadricheandgithub-action linter fcae05a0da SponsorBlock categories (#634)
* SponsorBlock categories

* perf

* remove todo

* tweak

* UI is working

* Lint fix

* changelog

* Bug fix

* Restore timer

* Locale

* Comment

* tweaks

* web app

* remove unsued svelte ignore

* lint web app

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
2025-06-01 15:30:58 -04:00

34 lines
2.3 KiB
XML

<component name="VideoPlayer" extends="Video" includes="AutoBind">
<interface>
<field id="appController" type="node" bind="/AppController" />
<field id="container" type="node" bind=".." />
<field id="notifications" type="node" bind="../../Notifications" />
<field id="videoQueue" type="node" bind="../../VideoQueue" />
<field id="preferences" type="node" bind="../../Preferences" />
<field id="innertube" type="node" bind="../../Innertube" />
<field id="invidious" type="node" bind="../../Invidious" />
<field id="webServer" type="node" bind="../../WebServer" />
<field id="loungeService" type="node" bind="../../LoungeService" />
<field id="previousPlayer" type="node" />
<field id="minRect" type="rect2D" value="[834,460,426,240]" />
<field id="maxRect" type="rect2D" value="[0,0,1280,720]" />
<field id="chapter" type="string" alias="chapterLabel.text" />
<field id="showFullScreenHint" type="boolean" alwaysNotify="true" onChange="OnShowFullScreenHint" />
<field id="close" type="boolean" alwaysNotify="true" onChange="OnClose" />
<function name="PlayWithContent" />
</interface>
<children>
<Label id="chapterLabel" width="350" height="25" horizAlign="center" vertAlign="center" font="font:SmallestSystemFont" />
<Timer id="chapterLabelTimer" repeat="true" duration="0.5" />
<Animation id="minimizeAnimation" duration="0.3" optional="true">
<FloatFieldInterpolator id="widthInterpolator" key="[0.0, 0.5, 1.0]" fieldToInterp="VideoPlayer.width" />
<FloatFieldInterpolator id="heightInterpolator" key="[0.0, 0.5, 1.0]" fieldToInterp="VideoPlayer.height" />
<Vector2DFieldInterpolator id="translationInterpolator" key="[0.0, 0.5, 1.0]" fieldToInterp="VideoPlayer.translation" />
</Animation>
<Rectangle id="fullScreenHint" height="26" color="0x000000" opacity="0.8" visible="false">
<Label id="fullScreenHintLabel" text="Press Options (*) for full screen" height="26" color="0xFFFFFF" horizAlign="center" vertAlign="center" font="font:SmallestSystemFont" />
<Timer id="fullScreenHintTimer" duration="5" />
<Timer id="trickplayUITimer" duration="5" />
</Rectangle>
</children>
</component>