website/assets/js/setwidth.js

7 lines
191 B
JavaScript
Raw Normal View History

2020-07-08 20:24:13 +02:00
video = document.getElementById('video_bg');
if (isportrait === true) {
video.setAttribute('height', $(window).height());
} else {
video.setAttribute('height', $(window).height());
}