<?php

namespace Devnet\PingVid\Includes;


if (!defined('ABSPATH')) {
    exit;
}


class Defaults
{

    public static function general($option_name = '')
    {
        $options = [
            'enable_globally' => 0,
            'video_platform'  => 'youtube',
            'video_url'       => '',
            'aspect_ratio'    => '9:16'
        ];

        $output = $options;

        if ($option_name) {
            $output = $options[$option_name] ?? null;
        }

        return $output;
    }


    public static function display($option_name = '')
    {
        $options = [
            'position' => 'bottom-right',
            'margin_y' => '32px',
            'margin_x' => '32px',
            'delay'    => 2000,
        ];

        $output = $options;

        if ($option_name) {
            $output = $options[$option_name] ?? null;
        }

        return $output;
    }
}
