Hi!
I'm just starting with the JavaScript Version GSAP - awesome!
My question/problem: Animation doesn't start in IE11 and Android <=4.3
SVG is embedded as object
<object id="obj" type="image/svg+xml" height="20%" width="20%" data="img/status2.svg"></object>
A rectangle in the svg is selected and animated:
var element = document.getElementById("obj").contentDocument.getElementById('rectangle');
TweenMax.to(element, 1, { rotation:30, transformOrigin:'50% 50%' });
No problem in Chrome and FF, but in IE11 and Android <4.4
I can't provide a codepen demo because of cross domain restrictions (embedded object) but here is a link:
http://www.e-challenge.de/greensock/animation.html
Thanks for help!
Tom