Why ajax does not have time to upload the recording preview wordpress?

The problem is this: there is a block withdrawal of reviews on a page (2 thumbs revocation) of audio files and they are in this unit are displayed randomly. When you first load the page, all polite (loaded audio and player - to listen to them). When updating via Ajax-button (displays 2 random feedback) the audio files downloaded do not have time (no audio). What could be the problem?
Here is a Java script handler:
<script type="text/javascript">
 // Restart the reviews
(function($){
$(function(){
$("#rvw-ajax").click(function(){
$("#archive_pot")
.empty()
 .html("<div style='text-align:center; padding:30px;'><img src='<?php bloginfo('template_url') ?>/images/ajax-loader.gif' /></div>");
$.post(
 "<?php bloginfo('template_url') ?>/rvw-getter.php",
 function(data) {
 $("#archive_pot").html(data).animate({ height: $("#archives_table").height()+40 });
}
);
});
});
})(jQuery)
 </script>


The audio file is played through the player wordpress and appears thus:
<?php 
 $attr = array(
 'src' =--> get_field('rvw_track_link'),
 'loop' => ",
 'autoplay' => ",
 'preload' => 'none'
);
 echo wp_audio_shortcode( $attr );
 ?>
July 2nd 19 at 18:15
1 answer
July 2nd 19 at 18:17
Solution
I found a solution. The train of thought prompted me Igor Vorotniov, for which he Thanks a lot. Handler added the line:
$( wp.mediaelement.initialize );
there, where a search result. String taken from the file wp-mediaelement js :
window.wp.mediaelement = new wpMediaElement();

 $( window.wp.mediaelement.initialize );

})( window, jQuery );

Find more questions by tags AJAXWordPress