Hello Martin,
i took a look. Yes there is a JavaScript event which triggers once the Ajax content finishes loading in my theme (Enfold).
in js/avia.js:65-103:
$.avia_utilities.avia_ajax_call = function(container)
{
if(typeof container == 'undefined'){ container = 'body';};
$('a.avianolink').on('click', function(e){ e.preventDefault(); });
$('a.aviablank').attr('target', '_blank');
//activates the prettyphoto lightbox
$(container).avia_activate_lightbox();
//scrollspy for main menu. must be located before smoothscrolling
if($.fn.avia_scrollspy)
{
if(container == 'body')
{
$('body').avia_scrollspy({target:'.main_menu .menu li > a'});
}
else
{
$('body').avia_scrollspy('refresh');
}
}
//smooth scrooling
if($.fn.avia_smoothscroll)
$('a[href*=#]', container).avia_smoothscroll(container);
avia_small_fixes(container);
avia_hover_effect(container);
avia_iframe_fix(container);
//activate html5 video player
if($.fn.avia_html5_activation && $.fn.mediaelementplayer)
$(".avia_video, .avia_audio", container).avia_html5_activation({ratio:'16:9'});
}
could we try putting the flowplayer activation inside there ?
thanks
fab