Files
ohif-viewer/platform/docs/src/pages/components/CinePlayerShowcase.tsx
T
2025-04-22 10:45:14 -04:00

40 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// import React, { useState } from 'react';
// import CinePlayer from '../../../../ui-next/src/components/CinePlayer/CinePlayer';
// import ShowcaseRow from './ShowcaseRow';
/**
* CinePlayerShowcase displays a playable/pausable cine player with FPS control.
*/
export default function CinePlayerShowcase() {
return null;
}
// const [isPlaying, setIsPlaying] = useState(false);
// const [fps, setFps] = useState(24);
// return (
// <ShowcaseRow
// title="Cine Player"
// description="Play, pause, scrub through dynamic image series and adjust FPS."
// code={`
// <CinePlayer
// className="w-[300px]"
// isPlaying={isPlaying}
// frameRate={fps}
// onPlayPauseChange={setIsPlaying}
// onFrameRateChange={setFps}
// onClose={() => console.log('close clicked')}
// />
// `}
// >
// <CinePlayer
// className="w-[300px]"
// isPlaying={isPlaying}
// frameRate={fps}
// onPlayPauseChange={setIsPlaying}
// onFrameRateChange={setFps}
// onClose={() => console.log('close clicked')}
// />
// </ShowcaseRow>
// );
// }