import React from 'react'; import type { ChatRef } from '../chat-ref.types'; /** * — chat-side inline render for video-bearing * entity refs. Reuses `` (the SAME component the * detail pages use for customer interviews, investor updates, product * releases, and case studies) so the chat surface matches the public * pages 1:1: Full Video / Highlights tabs, YouTube facade vs Mux HLS * routing, native fullscreen, captions, posters. * * Stripped-chrome rendering: just the player + tabs, no title, no * date, no Ask button. The inline pill at the marker position (in the * paragraph above) already shows the title, date, and Ask affordance * via the host's existing compact entity card. Duplicating those * here doubles the UX and steals vertical space inside the chat * panel. v6.1 §B.2.7. * * Activation contract: the host's dispatch routes here only when * `chatRef.metadata.videoUrl`, `youtubeUrl`, or `highlightVideoUrl` * is a non-empty string. URL safety is handled inside `