Hello,
there are many ways to do that. The way that i describe is often taught in the Widget Designer trainings. (well, at least the ones that I hold
)
To select a Video by clicking a thumbnail you can use the (Buttons -> MediaPanel). To make it work you setup Pandoras Box as follows:
- Select the videos that you would like to use (multi-selection) and then assign DMX IDs in the
Inspector- Go to
Configuration -> Remote Control Protocols and enable
CITP Thumbnail ExchangeNow you can go back to the Widget Designer and use the
Edit -> Pandoras Box IP Configuration -> Download Thumbnails (scroll down a bit) to load the Thumbnails. If you now create a new
Buttons -> MediaPanel then you can select the Folder ID from in the Properties Dialog. (Select one from the list or make sure that you type all 3 digits like 001 for the first folder). That already assigns Videos to a video layer, but since we want to automatically select the correct Layer for assignment we add a Fader and also a CustomScript.
The Fader you set up to control Layer 1 and Layer 2 simultaniously by setting 1.1 and Opacity in the Value settings and 1.2 and Opacity for the INV (inverse) values. When you use the fader it will crossfade between the two layers.
Now create a new Button -> CustomScript and change it's Type to Toggle. In the Toggle script you put something like (writing this from the top of my head)
Mouse Press Script
- Code: Select all
' first start the fade
WDFaderDown,1,2
' now make the media panel assign media to the inactive layer the next time it is used
WDMediaPanelSetDevices,1,1.2
Mouse Release Script
- Code: Select all
' first start the fade
WDFaderUp,1,2
' now make the media panel assign media to the inactive layer the next time it is used
WDMediaPanelSetDevices,1,1.1
Finally, we set the Script of the MediaPanel to
- Code: Select all
CustomScriptClick,1
This should give you an idea on how to solve it.
Bonus: Totally works in Widget Designer STD
Regards
Dennis