",
speed: 0, }
},
// trigger Isotope as a callback
function( newElements ) {
var player = $('.wp-block-audio audio, .powerpress_player audio, audio.wp-audio-shortcode');
player.mediaelementplayer({
'classPrefix': 'mejs-',
'isVideo': false,
'setDimensions': false,
'preload': 'none',
'pauseOtherPlayers': true,
'alwaysShowControls': true,
// 'audioVolume': 'vertical', // add into customizer
'startVolume': 0.8,
'skipBackInterval': 30,
'jumpForwardInterval': 30,
'timeAndDurationSeparator': '
/ ',
'features': ['skipback', 'playpause', 'jumpforward', 'current', 'progress', 'duration', 'tracks', 'volume', 'speed'],
'speeds': ['2', '1.5', '1.25', '0.75'],
'defaultSpeed': '1',
success: function (mediaElement) { mediaElement.pause(); }
});
$(".secondline-themes-gallery").flexslider({
animation: "fade",
slideDirection: "horizontal",
slideshow: false,
smoothHeight: false,
slideshowSpeed: 7000,
animationSpeed: 1000,
directionNav: true,
controlNav: true,
prevText: "",
nextText: "",
});
$(".secondline-themes-default-blog-overlay a[data-rel^=\'prettyPhoto\'], .secondline-themes-feaured-image a[data-rel^=\'prettyPhoto\']").prettyPhoto({
theme: "pp_default",
hook: "data-rel",
opacity: 0.7,
show_title: false,
deeplinking: false,
overlay_gallery: false,
custom_markup: "",
default_width: 1100,
default_height: 619,
social_tools:""
});
$(".secondline-themes-default-blog-overlay, .secondline-themes-default-blog-index").fitVids();
var $newElems = $( newElements );
$newElems.imagesLoaded(function(){
$containerdsymnel.isotope( "appended", $newElems );
$(".secondline-masonry-item, #main-container-secondline .mejs-container").addClass("opacity-secondline");
if (typeof sppressProPlayerReboot !== "undefined" && $.isFunction(sppressProPlayerReboot)) {
if ($(".sm2-main-controls")[0]) {
sppressProPlayerReboot();
}
}
if ($(".sppaudioplayer")[0]) {
$("audio").audioPlayer();
}
if (window.innerWidth > 959) {
$("#main-container-secondline #secondline-blog-index-masonry-dsymnel .mejs-container, #main-container-secondline #secondline-blog-index-masonry-dsymnel p.powerpress_links a, #main-container-secondline #secondline-blog-index-masonry-dsymnel .podcast_meta a").addClass("opacity-secondline");
};
if (window.innerWidth > 959) {
$(".single-column-slt .secondline-themes-feaured-image img").addClass("match-height-slt");
$(".single-column-slt .secondline-blog-content").addClass("match-height-slt");
$(".single-column-slt.secondline_elements_post_list_disable_match .secondline-themes-feaured-image img").removeClass("match-height-slt");
$(".single-column-slt.secondline_elements_post_list_disable_match .secondline-blog-content").removeClass("match-height-slt");
$("body .grid-columns-slt.masonry-secondline .secondline-blog-content").removeClass("match-height-slt");
$('.match-height-slt').matchHeight();
$('body .grid-columns-slt.fitRows-secondline .secondline-blog-content').matchHeight({byRow: true,});
};
$('body #secondline-blog-index-masonry-dsymnel .secondline-post-meta').each(function() {
$(this).find('span:visible:last').addClass('secondline-visible-last');
});
});
}
);
/* END Infinite Scroll */
/* PAUSE FOR LOAD MORE */
$(window).unbind(".infscr");
// Resume Infinite Scroll
$("#infinite-nav-slt-dsymnel .nav-previous a").click(function(){
$containerdsymnel.infinitescroll("retrieve");
return false;
});
/* End Infinite Scroll */
});