Depending on the language of my show (I work in tourism), I want either the random video transitions on, or I want them off and the video transition set to fade... How would I go about putting that in my skin?
This doesn't seem to work properly:
<oninit action="var_equal '$LANGUAGE' 3 ? setting 'videoRandomTransition 'off' & setting videoTransition 'Fade' : setting 'videoRandomTransition 'on'"/>
This doesn't seem to work properly:
<oninit action="var_equal '$LANGUAGE' 3 ? setting 'videoRandomTransition 'off' & setting videoTransition 'Fade' : setting 'videoRandomTransition 'on'"/>
geposted Mon 26 Sep 16 @ 11:19 am
I just realized that you cannot put conditions in oninit. So I placed the commands in the langauge selection buttons:
<panel name="LANGUAGE 2" visible="var '$LANGUAGE' 2 & videoRandomTransition 'on'">
<panel name="LANGUAGE 3" visible="var '$LANGUAGE' 3 & 'videoRandomTransition 'off' & videoTransition 'None'">
Still doesn't work...
<panel name="LANGUAGE 2" visible="var '$LANGUAGE' 2 & videoRandomTransition 'on'">
<panel name="LANGUAGE 3" visible="var '$LANGUAGE' 3 & 'videoRandomTransition 'off' & videoTransition 'None'">
Still doesn't work...
geposted Mon 26 Sep 16 @ 11:34 am
<panel name="LANGUAGE 3" visible="var '$LANGUAGE' 3 & setting 'videoRandomTransition' off & video_transition 'None'">
This should turn random video transitions off and also video transitions itself off...
<panel name="LANGUAGE 3" visible="var '$LANGUAGE' 3 & setting 'videoRandomTransition' off & video_transition 'Fade'">
This should fade, but also doesn't work...
The oinint makes sure the standard setting is "on" for random video transitions: <oninit action="setting 'videoRandomTransition' on & setting 'videoTransition' Spin"/>
Anyone any idea what I'm doing wrong?
This should turn random video transitions off and also video transitions itself off...
<panel name="LANGUAGE 3" visible="var '$LANGUAGE' 3 & setting 'videoRandomTransition' off & video_transition 'Fade'">
This should fade, but also doesn't work...
The oinint makes sure the standard setting is "on" for random video transitions: <oninit action="setting 'videoRandomTransition' on & setting 'videoTransition' Spin"/>
Anyone any idea what I'm doing wrong?
geposted Mon 26 Sep 16 @ 11:48 am
I also tried including the code in the actual language selector buttons (with the "action" verb):
<button action="cycle '$LANGUAGE' 4 & var '$LANGUAGE' 3 ? setting 'videoRandomTransition' off & video_transition 'Fade' : setting 'videoRandomTransition' on">
Nothing. No effect at all.
<button action="cycle '$LANGUAGE' 4 & var '$LANGUAGE' 3 ? setting 'videoRandomTransition' off & video_transition 'Fade' : setting 'videoRandomTransition' on">
Nothing. No effect at all.
geposted Mon 26 Sep 16 @ 12:06 pm
var_equal '$LANGUAGE' 3 ? setting 'videoRandomTransition' off & video_transition_select 'Fade' : setting 'videoRandomTransition' on
geposted Mon 26 Sep 16 @ 12:41 pm
Thank you for your input, Babis. Everything is working fine now :)
geposted Mon 26 Sep 16 @ 1:31 pm