const $video = $('.video');
const $links = $('.video-links a').on('click', function(e) {
const href = $links
.removeClass('active')
.filter(e.target)
.addClass('active')
.attr('href');
$video
.addClass('video-off')
.filter(href)
.removeClass('video-off');
});