var windowRes = document.documentElement.clientWidth;
function videoDelete() {
var videos = document.getElementsByTagName('video');
if (windowRes < 1023) {
for (var i in videos) {
document.removeChild(videos[i]);
}
}
}
videos[i].parentNode.removeChild(videos[i]);