<?php

declare(strict_types=1);

namespace Drupal\ffmpeg_media_player\Hook;

use Drupal\Core\Hook\Attribute\Hook;

/**
 * Theme-related hook implementations for FFmpeg Media Player.
 */
final class ThemeHooks {

  /**
   * Implements hook_theme().
   *
   * @phpstan-return array<string, mixed>
   */
  #[Hook('theme')]
  public function theme(): array {
    return [
      'ffmpeg_media_streaming_video' => [
        'variables' => [
          'media' => NULL,
          'sources' => [],
          'poster' => NULL,
          'subtitles' => [],
          'player_config' => [],
          'progress' => NULL,
          'attributes' => [],
        ],
      ],
    ];
  }

}
