Hi GSAP folks,
Please help to sort out the following.
Imagine I have index.html with 2 iframes with timeline in each one.
What I'd want to is getting and controlling each iframe timeline with GSDevTools from opened index.html where these iframes are placed.
The question is how to make GSDevTools to see timelines from iframes?
Here I've used codepen iframes but of course in fact there should be local html files.
Maybe it's more JS specific questi
Was looking for the exact same thing,
it's indeed not possible to add the timeline from contentWindow, i always get an error, no matter what :
Maybe the contentWindow Mechanism somehow change the signature of the variable.
But i soon realize you can actually control the contentWindow's timeline with it's own functions (like pause() play() and ... progress !).
So i came with this quick and dirty implementation, witch actually works :