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

How to set a video as background with an animation on top in HTML5 canvas?

Community Beginner ,
Feb 13, 2020 Feb 13, 2020

Hello!

I am trying to create an animation where a video is the background and with a separate animation above.

When I test it, the video always lies over the animation.

My file consists of a component with video stream and on top with a simple animation. All done in HTML5 canvas.

 

I hope you can help!

Thanks!

TOPICS
How to , Product issue
1.0K
Translate
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

correct answers 1 Correct answer

Community Beginner , Feb 13, 2020 Feb 13, 2020

Ok I figured it out:

CSS component > #canvas{z-index:1;}

Translate
Community Beginner ,
Feb 13, 2020 Feb 13, 2020
LATEST

Ok I figured it out:

CSS component > #canvas{z-index:1;}

Translate
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