tree on a hill AM vs PM
hello,
i want creat edge animate project has fullscreen video background, showing tree on hill.
when daytime want show video of tree blue sky , clouds,
when evening see night shot.
i managed create fullscreen background scales nice.
i want have code says if local time play video 1, when local time pm play video 2
but don't know how start.
ideally want have video shows in more staps, morning, middag, evening, night.
but later.
can me.
thanks,
bart
i guess use this
var d = new date();
var n = d.gettime();
result in milliseconds
then can write conditionals load different video.
if (n>something){
// load day video
} else if (n<something){
// loadf night video
}
something:
you need find right api conditional give real time of user time.
maybe one:
More discussions in Edge Animate CC
adobe
Comments
Post a Comment