]> git.bts.cx Git - cx.git/blobdiff - cx/lib/markdown.php
Try to fix aspect ratio issues
[cx.git] / cx / lib / markdown.php
index 771b9476370ed2546633eabdf9aea85454e87d8d..aab58d59e005f0d5006e7918cbc2cbb4cbd20b74 100644 (file)
@@ -49,10 +49,10 @@ class ExtendedParsedown extends Parsedown {
                                        'name' => 'iframe',
                                        'text' => '',
                                        'attributes' => array(
-                                               'id' => "ytplayer",
+                                               'class' => "video",
                                                'type' => "text/html",
-                                               'width' => "640",
-                                               'height' => "360",
+                                               //'width' => "640",
+                                               //'height' => "360",
                                                'src' => "https://www.youtube.com/embed/" . $video_id,
                                                'frameborder' => "0",
                                                'loading' => "lazy",