//deferjQuery($(slideshow1Selector).revolution(slideshow1Options));
deferPlugin("revolution", true, function(){
var isMobile = 'ontouchend' in window;
var videoBackgrounds = $('.video-background');
videoBackgrounds.each(function(){
var thisVideoBackground = $(this);
var placeHolder = $('.video-background').data('place-holder');
var videoSpacer = $('.video-background').data('video-spacer');
if(isMobile)
{
thisVideoBackground.append('');
$('.tp-videolayer').remove();
}
else
{
thisVideoBackground.append('');
}
});
$(slideshow1Selector).revolution(slideshow1Options);
});
/*startSlideshow();
function startSlideshow()
{
if(typeof revolution === 'function')
{
$(slideshow1Selector).revolution(slideshow1Options)
}
else
{
setTimeout(function(){startSlideshow()}, 50);
}
}*/