synchronization video embed as swf with animation in project
Dec 10, 2013
Hi,
I'm looking for a solution to synchronizate video embed as swf with animations built on the slide layer. As we know, swf is not progressively stream and I have problem when the user has a poor Internet. Then the video is loading but the slide layer with animation is starting independently of video. I'm trying to add to each swf file on the second frame thiscode:
import flash.external.ExternalInterface;
ExternalInterface.call("GetPlayer().SetVar","loading",true);
On the each screen I add the triggers:
adjust variable loading to false when base timeline is starting
show layer with animation when variable loading is changed and the variable is true
I thought that this solution should work good but I have noticed that sometimes animation is playing independently of video.
Any suggestions?
5 Replies
Hi Kamil,
How did you insert the SWF file? Depending on the interaction needed, there are two ways to insert your SWF.
Here's how to decide:
I'm guessing you've used the second option since it's not synced up with the timeline.
Ashley, thanks for your response. I insert my swf file as video so I use first option. Nonetheless my animation built on the slide layer is starting before my swf file will be loaded.
Thanks Kamil for confirming. What is the trigger you've set up for your slide layer? Does it show on timeline start? Could you change it to when Media starts to link them together?
Ashley, I have the trigger like print screen:
Unfortunately, this is not still working. My solution with using JS is not working as well. Any othe solution? I have seen this:
https://player.vimeo.com/video/149069234
and my question is how it is built?
Hi Kamil,
I'm not able to assist with the JS option, but there may be some community members who could help you out if you're able to share what you've set up.
The video by Mike Enders using an off screen object to pause the video, based on when it appears on the timeline. He's also included a hotspot over the entire slide so that the user can't click on the video until the particular hotspot appears.
This discussion is closed. You can start a new discussion or contact Articulate Support.