code: function isAPIEnabled(embed) {
    var regex = '\/?api=1&player_id=' + embed.id;
    regex = new RegExp(regex);
    return regex.test(embed.src);
  }
docs: Determine if required `src` parameters are included in `embed`
  
  @param {Object} embed
  @returns {Boolean}