diff --git a/src/Util/Html.php b/src/Util/Html.php index 54de0f4db..f06fad35c 100644 --- a/src/Util/Html.php +++ b/src/Util/Html.php @@ -91,4 +91,53 @@ public static function getImageFromMetaTags(string $html): ?string return null; } + + /*public function createVideoIframe() { + return [ + 'extent' => $link['extent'], + 'element' => [ + 'name' => 'div', + 'handler' => 'elements', + 'text' => [ + $iframe['element'], + ], + + 'attributes' => [ + 'title' => $link['element']['attributes']['title'], + 'style' => 'position:relative;padding-bottom:56.25%;height:0;overflow:hidden;', + ], + ], + ]; + +