Animation as web object slows down

Jun 10, 2014

I'm working on getting our Flash material into html5. I try to find out whether Articulate can be an option. In one of my test cases, there is a simple html5-animation made in Flash CC:

http://dev.viten.no/test/html5-test.html

When inserting this inside an Articulate object as Web Object (iframe), the animation gradually slows down and the cpu usage increases up to maximum.This is only happening when the animation is running as a web object inside Articulate:

http://dev.viten.no/test/story_html5.html

(let it run for 60 seconds and you will probably see the speed reduction)

It happens in all my browsers (Chrome, Firefox, IE, Opera).

This is a test case, so even though it's not critical for this animation, it will be in other cases.

Is this i known issue? Is it a bug that can be fixed?

3 Replies
Ashley Terwilliger-Pollard

Hi Oystein and welcome to Heroes! 

Thanks for sharing both those links here. I took a look and let them both run for a bit - and didn't notice any slow down? I recorded a quick video of them side by side - which you can see here (sorry about the chirping birds in the background - they didn't want to stop while I recorded!). 

If you're still having difficulty, can you tell us a bit more about your testing environment and maybe even share the .story file and I can place it on a server to test if that behaves any differently for you? 

Oystein Sorborg

Hi Ashley,

Did you run the animation more than a minute or so? After two minutes, it's really slow. A better way to monitore the problem, is probably to open the Windows Task Manager and monitor the cpu usage for the two versions, one at the time. For the "animation only version" (http://dev.viten.no/test/html5-test.html) cpu consumption stays stable and quite low (also the same for the Storyline Flash version: http://dev.viten.no/test/story.html). The "animation as web object in Storyline html5 version" though (http://dev.viten.no/test/story_html5.html), has gradually increasing cpu consumption until it reaches 100% (read "100 % for one of the cpu cores" on multicore cpu).

The same is actually happen when inserting youtube videos as web object:

Monitor cpu usage for these:

http://dev.viten.no/test2/story.html

http://dev.viten.no/test2/story_html5.html

Since html5 also should be a solution for bringing content into mobile devices, it seems to me that Storyline html5 output version has a problem "eating" batteries (and slowing down content) when using web object... Since this is not the case for the Storyline Flash output version, it may be possible that something can be done to fix it?

Ashley Terwilliger-Pollard

Hi Oystein,

Yes - I opened them both and let them run for a bit while I was doing other things, and then checked again to see if it looked "slower" and didn'tnotice any slowness so I opened the screen recorder and set it up to show them side by side.  I've been running the HTML5 link again as I read your message and kept my task manager open and saw no major change in my overall usage or memory and it's been running for about 5 minutes now. 

I also then tested your youtube videos and ran the entire video (which is 10 minutes) - again no change in my overall memory or usage. Is it something you can check from a different machine to see if it's an overall memory issue with your system? Also, I'd see how it behaves while all other programs and applications are closed (My machine was running a lot of other things - but I still never went over 25% CPU, with email, skype, Storyline, Firefox, Chrome, etc. all running in the background). 

This discussion is closed. You can start a new discussion or contact Articulate Support.