This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/handle_video/info.php

25 lines
1,020 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class VideoFileHandlerInfo extends ExtensionInfo
{
public const KEY = "handle_video";
public string $key = self::KEY;
public string $name = "Handle Video";
2023-11-11 21:49:12 +00:00
public array $authors = ["velocity37" => "velocity37@gmail.com",self::SHISH_NAME => self::SHISH_EMAIL, "jgen" => "jeffgenovy@gmail.com", "im-mi" => "im.mi.mail.mi@gmail.com"];
public string $license = self::LICENSE_GPLV2;
public ExtensionCategory $category = ExtensionCategory::FILE_HANDLING;
public string $description = "Handle FLV, MP4, OGV and WEBM video files.";
public ?string $documentation =
2024-08-31 16:05:18 +00:00
"Based heavily on \"Handle MP3\" by Shish.<br><br>
FLV: Flash player<br>
MP4: HTML5 with Flash fallback<br>
OGV, WEBM: HTML5<br>
MP4's flash fallback is forced with a bit of Javascript as some browsers won't fallback if they can't play H.264.
In the future, it may be necessary to change the user agent checks to reflect the current state of H.264 support.<br><br>";
}