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:

https://developers.google.com/maps/documentation/timezone/



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP