mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
18 lines
385 B
PHP
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;
|
|
}
|