PlaybackOptions

The available PlaybackOptions used to override settings from the manifest.

  autoplay?: boolean;

  // Define playback direction 1 forward, -1 backward
  direction?: number;

  // If loop is a number, it defines the number of times the animation will loop
  loop?: string;

  // Choice between 'bounce' and 'normal'
  playMode?: PlayMode;

  // Desired playback speed, default 1.0
  speed?: number;

  // Theme color
  themeColor?: string;

  // Play on hover
  hover?: boolean;

  // Time to wait between playback loops
  intermission?: number;

Last updated