Forum Discussion
Animated SVG images in Rise?
So i tested a bit more and these are the results...
https://360.articulate.com/review/content/33063901-1793-4bf6-93e2-0aed60b3f906/review
SVG with animation can be generated in 2 ways. With Javascript or with CSS. The Javascript based SVG animations donot work in Rise360. The CSS based animations do work in Rise360, however creating SVG with CSS has some major lacking features. First of all you cannot use transform related animation, you have to make sure all your animation is point and path focused. Thats not good, allthough if you know it, you can take that into account when creating your animation.
However the worst part of CSS based SVG animation is not all browsers support it. It works fine on the latest Chrome and Edge, but it doesnot on Firefox and probably Safari and Macs neither.
So Articulate really should add this as a feature... Make sure Javascript controlled SVG works on Rise, because those SVG animations work on all browsers.
For those who want to test with the 2 types of SVG adding them...
- Renz_Sevilla5 years agoStaff
Hi Math Notermans! Thanks for bringing this to our attention and thoroughly testing this across different browser types as well as sharing your two sample images.
We have this documented, and we'll let you know if we make any changes that help!- MathNotermans-95 years agoCommunity Member
And it would be great if we could use SVG like that in Storyline too ;-) Allready made a request for that...
- Renz_Sevilla5 years agoStaff
Hi Math!
Thanks for patiently waiting! The team investigated and we'd like to let you know this behavior is expected.
The SVGs using JavaScript are in <object> tags and CSS are in <img> tags.
We wrap all our image uploads in <img > tags and since all of our images are wrapped in<img > tags, CSS based SVGs are the only ones that will work. As for the browser limitation, most browsers limit or prohibit the use of interactivity in
tags making animated SVGs work poorly.
Thanks again for initially bringing this up and if we make any updates to this, or how SVGs work in Rise, we'll let you know!
- JessRadnidge4 years agoCommunity Member
Thanks for the hot tip, your animations look great!
We're just wondering, how you were able to get the code for your svg? Is it a json file? Were you using after effects with Body Movin/Lottie?
Thanks so much, we are really trying to crack the code on this one.- MathNotermans-94 years agoCommunity Member
Hi Jess,
For this sample is used SVGator in which you can animate any svg. And then decide whether to export it as CSS or Js based SVG. With the above mentioned drawbacks when using CSS.
And this is all inline then...as its an option in SVGator on export..
I do use the AfterEffects / BodyMovin / Lottie workflow. Used it in Storyline too before and then indeed you can use separate JSON files and thus even make changes in script on it with Javascript in Storyline. Contact me directly if you need more help.
Kind regards,
Math
Related Content
- 2 months ago
- 10 months ago
- 10 months ago