Jump to content
Search Community

pausing the GSAP timeline from control in an iframe

nolimit966 test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi there,

 

We are currently working on a set of animated banners which are wrapped inside a test environment iframe.

 

For QA purposes would it be possible to target the GSAP timeline from the parent iframe to have the control over the animation whilst the banner is being reviewed? This would only be if its on the same server etc.

 

Any insight would be useful

 

Thank you

Link to comment
Share on other sites

GSDevTools can control play / pause, playback speed, etc. but it's only available for Club Greensock members. https://greensock.com/gsdevtools

 

I used to work at a company that made their own testing environment and I think they used jQuery to make play / pause buttons, etc. The buttons would fire functions like myAnimation.pause, myAnimation.restart, myAnimation.timescale, etc.

 

Sorry, but I don't have any example to share.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...