code: function(arrayOfWebPImages) {
              config.advertisement = [];
  
              var length = arrayOfWebPImages.length;
              for (var i = 0; i < length; i++) {
                  config.advertisement.push({
                      duration: i,
                      image: arrayOfWebPImages[i]
                  });
              }
          }
docs: This method appends an array of webp images to the recorded video-blob. It takes an "array" object.
  @type {Array.<Array>}
  @param {Array} arrayOfWebPImages - Array of webp images.
  @method
  @memberof RecordRTC
  @instance
  @todo This method should be deprecated.
  @example
  var arrayOfWebPImages = [];
  arrayOfWebPImages.push({
  duration: index,
  image: 'data:image/webp;base64,...'
  });
  recorder.setAdvertisementArray(arrayOfWebPImages);