[skip ci] wip dev ui, needs state machine
This commit is contained in:
1 parent
d223624f2e
commit
a50fa3c347
3 files changed
+62
-11
No files matched your search
@@ -5,7 +5,7 @@
|
||||
This would allow us to be flexible with the UI beyond the customizations
|
||||
of the stock Roku Video component.
|
||||
-->
|
||||
<component name="VideoPlayerDev" extends="Video" includes="AutoBind,Focus,Disposable">
|
||||
<component name="VideoPlayerDev" extends="Video" includes="AutoBind,Disposable">
|
||||
<interface>
|
||||
<field id="container" type="node" bind=".." />
|
||||
<field id="videoQueue" type="node" bind="../../VideoQueue" />
|
||||
@@ -14,7 +14,6 @@
|
||||
<field id="minRect" type="rect2D" value="[834,460,426,240]" />
|
||||
<field id="maxRect" type="rect2D" value="[0,0,1280,720]" />
|
||||
<field id="showFullScreenHint" type="boolean" alwaysNotify="true" onChange="OnShowFullScreenHint" />
|
||||
<field id="videoUiVisible" type="boolean" alias="VideoUI.visible" />
|
||||
<field id="close" type="boolean" alwaysNotify="true" onChange="OnClose" />
|
||||
<function name="PlayWithContent" />
|
||||
</interface>
|
||||
@@ -101,6 +100,11 @@
|
||||
</Group>
|
||||
</Group>
|
||||
|
||||
<Timer id="HideVideoUiTimer" duration="3" />
|
||||
<Animation id="FadeAnimation" duration="0.3" optional="true">
|
||||
<FloatFieldInterpolator id="FadeOpacityInterpolator" key="[0.0, 0.5, 1.0]" keyValue="[0.0, 0.5, 1.0]" fieldToInterp="VideoUI.opacity" />
|
||||
</Animation>
|
||||
|
||||
<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" />
|
||||
|
||||
Reference in new issue
Block a user