javascript - play banner video forward and backward using scroll - Stack Overflow

PHOTO EMBED

Mon Jun 28 2021 22:53:43 GMT+0000 (UTC)

Saved by @letsstartdesign #html

    <div class="app">
        <div id="bound-one" class="scroll-bound">
            <video id='myVideo' width="600" muted preload>
               <source src="https://res.cloudinary.com/tvibhu12/video/upload/v1594987784/mambo_drfrs1.mp4" type="video/webm">
               
     </video>
          
        </div>

        <div class="content">
            <h1>Heading</h1>
            <p>Lorem ipsum dolor sit amet, an his etiam torquatos. Tollit soleat phaedrum te duo, eum cu recteque expetendis neglegentur. Cu mentitum maiestatis persequeris pro, pri ponderum tractatos ei. Id qui nemore latine molestiae, ad mutat oblique delicatissimi pro.</p>
            
          </div>
        
      
        
    </div>
content_copyCOPY

https://stackoverflow.com/questions/62953926/play-banner-video-forward-and-backward-using-scroll