Hello there!
I just encountered a weird problem.
I set the buttons to get in place at the right time on the timeline, but as soon as I make a preview on any browser and Ipad, the timing is not matching the one before…
And because my school project is all about pressing the time at the right moment (reflex game), it’s all about the timing.
One other thing, why (on Ipad) when I jump scene from the first to the second the video starts automatically but when you jump scene from the second to the third it doesn’t happen?
The project has to be presented on Ipad so I’d like to keep the effect of the video starting by itself like in the first jump scene…
Hope that someone can help me asap.
Mattia
PS: Even as a test my zipped file is too big to be saved on the topic… How can I do? Because It would be easier for you to check directly my project
The reason your button animation and video are out of sync is because the timeline starts immediately but the video has to buffer so it sends it out of sync. Also, video sometime's are not in sync because of FPS (frames per second). Hype is 30fps but some video's could be 24fps. A solution would be to use javascript to start the button timeline once the video has finished loading (initializing) or sync timelines with the video's time.
I used the javascript that you wrote for your video (changing the id’s) but do I need to set a specific time?
Because when I tried it on my project I still have to put it way before than when I actually need It. (But thanks to the javascript it always comes up at the same point in the video, no matter what i do !! Awesome)
-When I need to sync more than one button in a scene how can I make it work with the javascript?
Sorry if I’m this demanding,
but I’m a newbie in javascript
Yes, you would need to set the time. Below is a screen shot and the underlined part is the time in seconds when the 'animation' timeline would start.
So, whatever time in your video you want a timeline to start just put the time in seconds in this area.
If you want another timeline to fire at a future point (or the same timeline!) then you would repeat this "if" statement but change the T variable to "T == 1" and so on as when each "if" statement runs the variable is increased by 1. ( T++ ).
D
EDIT** I've done a little example with your document. Not all of it but enough to get you going