use crate::core::overlay::OverlayFlags;

pub struct PlayerConfig {
    pub sync_delay_ms: u64,
    pub overlay_flags: OverlayFlags,
}

impl Default for PlayerConfig {
    fn default() -> Self {
        Self {
            sync_delay_ms: 800,
            overlay_flags: OverlayFlags::default(),
        }
    }
}

pub async fn play_video(path: &str, config: PlayerConfig) -> anyhow::Result<()> {
    // TODO: Implement video player with overlay
    // Will integrate existing video_player functionality
    println!("Playing: {} with config: {:?}", path, config);
    Ok(())
}
