Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- window.onload = function(){
- if(window.innerWidth >= 1024)
- document.getElementById('video-container').innerHTML = '<video autoplay id="bgvid" poster="img/water-on-glass.jpg"><source src="videos/medoff-video.webm" type="video/webm"><source src="videos/medoff-video.mp4" type="video/mp4"></video>'
- };
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement