Hi all,
I'm working on a custom videoskin which is pretty simple, just a splitpanel playing videos from each deck. I want to know if its possible to automatically change the position of the split based on the crossfader, or even better, have it set automatically based on which deck is playing.
For example, I want the split position to be set to 0 if only deck 1 is playing, and to 1 if only deck 2 is playing. In the case where both are playing, make the position of the split = the position of the crossfader.
I don't know how often the videoskin even reads from the actual tracks that are playing, so I'm not sure if this will be possible. I haven't looked much at VDJScript, so maybe that can help? Any hints in the right direction would be helpful, I don't mind complex coding!
I'm working on a custom videoskin which is pretty simple, just a splitpanel playing videos from each deck. I want to know if its possible to automatically change the position of the split based on the crossfader, or even better, have it set automatically based on which deck is playing.
For example, I want the split position to be set to 0 if only deck 1 is playing, and to 1 if only deck 2 is playing. In the case where both are playing, make the position of the split = the position of the crossfader.
I don't know how often the videoskin even reads from the actual tracks that are playing, so I'm not sure if this will be possible. I haven't looked much at VDJScript, so maybe that can help? Any hints in the right direction would be helpful, I don't mind complex coding!
Inviato 19 hours ago
there is no script the <split> panels can take to control their width, just one exception, using name="crossfader"
You can see more code of this if you Edit the "Live" default Video skin
<split name="crossfader" type="horizontal">
...
<left>
...
</left>
<right>
...
</right>
</split>
You can see more code of this if you Edit the "Live" default Video skin
Inviato 8 hours ago