• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to start OAM canvas animation when in browser viewport

Explorer ,
Sep 20, 2020 Sep 20, 2020

Copy link to clipboard

Copied

Hello all,

 

I've created an animation that I need to start when in the viewport. It's a very simple function that I only need the animation to play. I may have missed a solution as I have searched this forum. 

 

Any guidance will be appreciated. Thanks all

TOPICS
How to

Views

158

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 21, 2020 Sep 21, 2020

Copy link to clipboard

Copied

by default, it will play when opened (eg, control>test in animate).

 

what "viewport" are you looking at when you fail to see this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 25, 2020 Sep 25, 2020

Copy link to clipboard

Copied

Hi deanflys

look into in-view.js. I did it once with Animate HTML5-Canvas animations but it's a while ago. Can't explain the details from the top of my head.

Klaus

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 25, 2020 Sep 25, 2020

Copy link to clipboard

Copied

LATEST

The sample for a client where I used in-view.js is here (url).

There are two Animate Canvas animations which start playing (and rewind accordingly) when they enter the viewport.

Maybe you can sniff it out.

Klaus

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines