react-krpano-toolkit
Version:
A React toolkit for KRPano integration with reusable functions and screen/hotspot configuration management
14 lines (13 loc) • 369 B
TypeScript
export declare function useVideoHotspot(): {
addVideoHotspot: (name: string, url: string, options: {
ath: number;
atv: number;
width?: number;
height?: number;
autoplay?: boolean;
loop?: boolean;
}) => void;
play: (name: string) => any;
pause: (name: string) => any;
remove: (name: string) => any;
};