diff --git a/src/Converter/Parsedown.php b/src/Converter/Parsedown.php index 4ea851dfd..7d8ba29d3 100644 --- a/src/Converter/Parsedown.php +++ b/src/Converter/Parsedown.php @@ -640,6 +640,7 @@ private function createMediaFromLink(array $link, string $type = 'video'): array if (isset($block['element']['attributes']['poster'])) { $block['element']['attributes']['poster'] = (string) new Asset($this->builder, $block['element']['attributes']['poster'], ['force_slash' => false]); } + $block['element']['attributes']['style'] = 'background-color: #d8d8d8;'; // background color if offline return $block; case 'audio':