5 Replies Latest reply on May 29, 2014 11:26 PM by jamesfootlight

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

    jamesfootlight Level 1



      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?