openvk/Web/Models/VideoDrivers/VideoDriver.php
2023-02-07 22:45:30 +02:00

18 lines
385 B
PHP

<?php declare(strict_types=1);
namespace openvk\Web\Models\VideoDrivers;
abstract class VideoDriver
{
protected $id;
function __construct(string $id)
{
$this->id = $id;
}
abstract function getThumbnailURL(): string;
abstract function getURL(): string;
abstract function getEmbed(string $w = "600", string $h = "340"): string;
}