/* Adding the Jquery functions required for RoyalSlider */ jQuery(document).ready(function($) { jQuery('#video-gallery').royalSlider({ arrowsNav: false, fadeinLoadedSlide: true, controlNavigationSpacing: 0, controlNavigation: 'thumbnails', thumbs: { autoCenter: false, fitInViewport: true, orientation: 'vertical', spacing: 0, paddingBottom: 0 }, keyboardNavEnabled: true, imageScaleMode: 'fill', imageAlignCenter:true, slidesSpacing: 0, loop: false, loopRewind: true, numImagesToPreload: 3, video: { autoHideArrows:true, autoHideControlNav:false, autoHideBlocks: true }, //autoScaleSlider: true, autoScaleSliderWidth: 754, autoScaleSliderHeight: 370, /* size of all images http://help.dimsemenov.com/kb/royalslider-jquery-plugin-faq/adding-width-and-height-properties-to-images */ imgWidth: 754, imgHeight: 370 }); }); /* playback timings (ms): LoadShardBlock: 417.936 (3) esindex: 0.027 captures_list: 466.054 CDXLines.iter: 28.16 (3) PetaboxLoader3.datanode: 729.227 (5) exclusion.robots: 0.487 exclusion.robots.policy: 0.452 RedisCDXSource: 7.31 PetaboxLoader3.resolve: 2533.485 (2) load_resource: 2896.877 */