Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var videos = [
  2.     '1',
  3.     '2',
  4.     '3',
  5.     '4',
  6.     '5',
  7.     '6'
  8. ];
  9.  
  10. var index = Math.floor(Math.random() * videos.length);
  11. var html = '<div class="pmeme"><video id="video" autoplay="autoplay" loop="loop" onloadstart="this.volume=0.2">' + videos[index] + '</video></div>';
  12. document.write(html);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement