jQuery(function () {
  jQuery(".pwp4-wrapper").each(function () {
    var that = jQuery(this);
    var id = that.attr("id");
    var config = that.data("episode");

    podlovePlayer("#" + id, config);
  })
});

jQuery(function () {
  jQuery(".pwp4-wrapper").each(function () {
    var that = jQuery(this);
    var id = that.attr("id");
    var config = that.data("episode");
    
    if (typeof podlovePlayer === "function") {
      podlovePlayer("#" + id, config);
    }
  })
});

Check if podlovePlayer is defined (#1060)