<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\Video;

use AuxCF\Entities\Field\CheckboxFieldEntity;
use AuxCF\Entities\Field\Enum\ChoicesFieldLayoutEnum;
use AuxCF\Entities\Settings\Enum\OperatorEnum;

class VideoFeaturesSwitchFieldEntity extends CheckboxFieldEntity
{
  public static string $name = 'video_features';
  protected string $label = 'Features';
  protected mixed $choices = [
    'loop' => 'Loop',
    'autoplay' => 'Autoplay',
    'muted' => 'Start Muted (videos are always muted when "autoplay" is enabled)',
    'disable_controls' => 'Disable Player Controls',
  ];
  protected ChoicesFieldLayoutEnum $layout = ChoicesFieldLayoutEnum::Vertical;
}
