Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. #Please add this code below for the video tag
  2.  
  3. <div class="col-sm-12">
  4. <!-- Video Wrapper Starts -->
  5. <div class="image-wrapper-text ">
  6. <p>I wanted the color wheel to be a joy to click - so I made these fun elastic tweens happen each time they click. It gives the experience a nice tacticle quality.</p>
  7. </div>
  8. <div class="video-wrapper">
  9. <video id="player" playsinline controls>
  10. <source src="connected_basketball.mp4" type="video/mp4" />
  11. </video>
  12. </div>
  13. <!-- Video Wrapper Ends -->
  14. </div>
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. #Also don't forget to import these plyr CDN below, make sure the CSS one are imported inside <head> tag, and the JS one imported above the </body> (close body) tag
  22.  
  23. <link rel="stylesheet" href="https://cdn.plyr.io/3.5.2/plyr.css" />
  24. <script src="https://cdn.plyr.io/3.5.2/plyr.js"></script>
  25. <script>
  26. const player = new Plyr('#player');
  27. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement