<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\Video;

use AuxCF\Entities\Field\FileFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use AuxCF\Services\FileFieldService;

class VideoFileFieldEntity extends FileFieldEntity
{
  public static string $name = 'video_file';
  protected string $label = 'Video File';
  protected string $mimeTypes = FileFieldService::VIDEO_EXTENSIONS;

  protected array $initConditionalLogic = [
    [[ VideoSourceFieldEntity::class, OperatorEnum::EQUALS, 'internal' ]],
  ];
}
