Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { useBlockEntityCommands } from '@app/features/next-soup/actions';
import { FileSidePanelSections, SidePanel } from '@components/app/side-panel';
import { DocumentBlockContainer } from '@core/component/DocumentBlockContainer';
import { blockData } from '../signal/blockData';
import { TopBar } from './TopBar';
import { VideoContent } from './VideoContent';
export default function BlockVideo() {
useBlockEntityCommands();
return (
<DocumentBlockContainer>
<div class="size-full select-none overscroll-none overflow-hidden flex flex-col relative">
<SidePanel.Layout defaultOpen={false} floating>
<FileSidePanelSections />
<div class="flex size-full min-w-0 flex-col overflow-hidden">
<div class="relative">
<TopBar />
</div>
<div class="w-full grow relative overflow-hidden">
<VideoContent
videoUrl={blockData()?.videoUrl}
fileType={blockData()?.documentMetadata.fileType}
/>
</div>
</div>
</SidePanel.Layout>
</div>
</DocumentBlockContainer>
);
}