Player
Animation Panel

Animation Panel

Here is an example showing how to preview an animation through the animation debug panel.

Edit iCraft Player - Demo(animationPanel) (opens in a new tab)

import type {
  ICraftPlayerInstance,
} from "@icraft/player";
import { ICraftPlayer } from "@icraft/player";
import { useRef } from "react";
 
export default () => {
  const instanceRef = useRef<ICraftPlayerInstance>();
 
  return (
    <ICraftPlayer
      fileUrl="/docker.iplayer"
      ref={instanceRef}
      showAnimationPanel
    />
  );
};