Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

How do you play/stop/show/hide 5 different fullscreen background videos?

$
0
0

Hi,

 

I have an Edge file with 5 videos all set to fullscreen background video with a class each as follows:

 

backgroundvideo_1_mp4 autoplay loop

backgroundvideo_2_mp4 autoplay loop

backgroundvideo_3_mp4 autoplay loop

backgroundvideo_4_mp4 autoplay loop

backgroundvideo_5_mp4 autoplay loop

 

However, i want to feature 5 buttons that play the chosen video. Button 1 plays video 1 and hides the other 4, Button 2 plays video 2 and hides the other 4 etc

 

But what code do i use to control the videos in the actions of the buttons?

 

Thanks!


Viewing all articles
Browse latest Browse all 9897

Trending Articles